File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -174,11 +174,11 @@ load_relations_hashtable(bool reinitialize)
174
174
ListCell * lc ;
175
175
char * schema ;
176
176
PartRelationInfo * prel ;
177
- char sql [] = "SELECT pg_class.relfilenode , pg_attribute.attnum, cfg.parttype, pg_attribute.atttypid "
177
+ char sql [] = "SELECT pg_class.oid , pg_attribute.attnum, cfg.parttype, pg_attribute.atttypid "
178
178
"FROM %s.pathman_config as cfg "
179
- "JOIN pg_class ON pg_class.relfilenode = cfg.relname::regclass::oid "
179
+ "JOIN pg_class ON pg_class.oid = cfg.relname::regclass::oid "
180
180
"JOIN pg_attribute ON pg_attribute.attname = lower(cfg.attname) "
181
- "AND attrelid = pg_class.relfilenode " ;
181
+ "AND attrelid = pg_class.oid " ;
182
182
char * query ;
183
183
184
184
SPI_connect ();
You can’t perform that action at this time.
0 commit comments