--- a/cubicweb/server/schemaserial.py Wed May 10 15:07:18 2017 +0200
+++ b/cubicweb/server/schemaserial.py Wed May 03 21:55:41 2017 +0200
@@ -92,6 +92,9 @@
# Computed Rtype
tables = set(t.lower() for t in dbhelper.list_tables(cnx.cnxset.cu))
+ # on postgres, ensure the default schema name (public) is also checked
+ if dbhelper.backend_name == 'postgres':
+ tables.update(t.lower() for t in dbhelper.list_tables(cnx.cnxset.cu, 'public'))
has_computed_relations = 'cw_cwcomputedrtype' in tables
# computed attribute
try: