Skip to content
Snippets Groups Projects
Commit 20a3830b authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Add C comment explaining why we can't exclude checking functions in the

pg_catalog schema, even though they are not explicitly dumped (they are
implicitly dumped, e.g. create language plperl).
parent d4696fa6
No related branches found
No related tags found
No related merge requests found
...@@ -142,7 +142,12 @@ get_loadable_libraries(void) ...@@ -142,7 +142,12 @@ get_loadable_libraries(void)
DbInfo *active_db = &old_cluster.dbarr.dbs[dbnum]; DbInfo *active_db = &old_cluster.dbarr.dbs[dbnum];
PGconn *conn = connectToServer(&old_cluster, active_db->db_name); PGconn *conn = connectToServer(&old_cluster, active_db->db_name);
/* Fetch all libraries referenced in this DB */ /*
* Fetch all libraries referenced in this DB. We can't exclude
* the "pg_catalog" schema because, while such functions are not
* explicitly dumped by pg_dump, they do reference implicit objects
* that pg_dump does dump, e.g. creation of the plperl language.
*/
ress[dbnum] = executeQueryOrDie(conn, ress[dbnum] = executeQueryOrDie(conn,
"SELECT DISTINCT probin " "SELECT DISTINCT probin "
"FROM pg_catalog.pg_proc " "FROM pg_catalog.pg_proc "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment