8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4696fa commit 20a3830Copy full SHA for 20a3830
contrib/pg_upgrade/function.c
@@ -142,7 +142,12 @@ get_loadable_libraries(void)
142
DbInfo *active_db = &old_cluster.dbarr.dbs[dbnum];
143
PGconn *conn = connectToServer(&old_cluster, active_db->db_name);
144
145
- /* Fetch all libraries referenced in this DB */
+ /*
146
+ * Fetch all libraries referenced in this DB. We can't exclude
147
+ * the "pg_catalog" schema because, while such functions are not
148
+ * explicitly dumped by pg_dump, they do reference implicit objects
149
+ * that pg_dump does dump, e.g. creation of the plperl language.
150
+ */
151
ress[dbnum] = executeQueryOrDie(conn,
152
"SELECT DISTINCT probin "
153
"FROM pg_catalog.pg_proc "
0 commit comments