这是indexloc提供的服务,不要输入任何密码
Skip to content

Track relations error: json ->> boolean #150

@shaded-enmity

Description

@shaded-enmity

I'm trying to use the graphql-engine on top of my Django application, however I'm getting the following error when I try to add any relation (even ones that don't really use the JSON type). This is happening on PostgreSQL 9.4 -- is there a minum version requirement?

{
    "statement": "\n           SELECT constraint_name, ref_table_table_schema, ref_table, column_mapping\n             FROM hdb_catalog.hdb_foreign_key_constraint\n            WHERE table_schema = $1\n              AND table_name = $2\n              AND column_mapping ->> $3 IS NOT NULL\n                ",
    "prepared": false,
    "error": {
        "exec_status": "FatalError",
        "hint": "No operator matches the given name and argument type(s). You might need to add explicit type casts.",
        "message": "operator does not exist: json ->> boolean",
        "status_code": "42883",
        "description": null
    },
    "arguments": [
        "(Oid 25,Just (\"public\",Binary))",
        "(Oid 25,Just (\"auth_permission\",Binary))",
        "(Oid 25,Just (\"content_type_id\",Binary))"
    ]
}```

Metadata

Metadata

Assignees

Labels

c/serverRelated to serverk/bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions