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 parent1e5c3ef commit47471b1Copy full SHA for 47471b1
contrib/pg_pathman/init.c
@@ -78,10 +78,10 @@ load_relations_hashtable(bool reinitialize)
78
ListCell*lc;
79
char*schema;
80
PartRelationInfo*prel;
81
-charsql[]="SELECT pg_class.relfilenode, pg_attribute.attnum,pathman_config.parttype, pg_attribute.atttypid "
82
-"FROM %s.pathman_config "
83
-"JOIN pg_class ON pg_class.relfilenode =pathman_config.relname::regclass::oid "
84
-"JOIN pg_attribute ON pg_attribute.attname =pathman_config.attname "
+charsql[]="SELECT pg_class.relfilenode, pg_attribute.attnum,cfg.parttype, pg_attribute.atttypid "
+"FROM %s.pathman_configas cfg"
+"JOIN pg_class ON pg_class.relfilenode =cfg.relname::regclass::oid "
+"JOIN pg_attribute ON pg_attribute.attname =cfg.attname "
85
"AND attrelid = pg_class.relfilenode";
86
char*query;
87