Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit20a3830

Browse files
committed
Add C comment explaining why we can't exclude checking functions in the
pg_catalog schema, even though they are not explicitly dumped (they areimplicitly dumped, e.g. create language plperl).
1 parentd4696fa commit20a3830

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎contrib/pg_upgrade/function.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,12 @@ get_loadable_libraries(void)
142142
DbInfo*active_db=&old_cluster.dbarr.dbs[dbnum];
143143
PGconn*conn=connectToServer(&old_cluster,active_db->db_name);
144144

145-
/* Fetch all libraries referenced in this DB */
145+
/*
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+
*/
146151
ress[dbnum]=executeQueryOrDie(conn,
147152
"SELECT DISTINCT probin "
148153
"FROMpg_catalog.pg_proc "

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp