-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
Description
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))"
]
}```