We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentab0709b commit2df7533Copy full SHA for 2df7533
init.c
@@ -174,11 +174,11 @@ load_relations_hashtable(bool reinitialize)
174
ListCell*lc;
175
char*schema;
176
PartRelationInfo*prel;
177
-charsql[]="SELECT pg_class.relfilenode, pg_attribute.attnum, cfg.parttype, pg_attribute.atttypid "
+charsql[]="SELECT pg_class.oid, pg_attribute.attnum, cfg.parttype, pg_attribute.atttypid "
178
"FROM %s.pathman_config as cfg "
179
-"JOIN pg_class ON pg_class.relfilenode = cfg.relname::regclass::oid "
+"JOIN pg_class ON pg_class.oid = cfg.relname::regclass::oid "
180
"JOIN pg_attribute ON pg_attribute.attname = lower(cfg.attname) "
181
-"AND attrelid = pg_class.relfilenode";
+"AND attrelid = pg_class.oid";
182
char*query;
183
184
SPI_connect();