bin/cubicweb-ctl
author David Douard <david.douard@logilab.fr>
Wed, 03 May 2017 21:55:41 +0200
branch3.25
changeset 12194 2f9da7a8ecb6
parent 0 b97547f5f1fa
child 12253 9165f4b7426b
permissions -rwxr-xr-x
[server] fix deserialize_schema to handle properly pg schema (closes 17076486) Postgres behaviour is to look first for a table in the configured schema then fall back to 'public' if no table is found. This must be implemented in deserialize_schema when listing existing tables to check for computed relations (cw_cwcomputedrtype) otherwise computed relations may not work when using non-default pg schema.

#!/usr/bin/env python
from cubicweb.cwctl import run
import sys
run(sys.argv[1:])