Skip to content

Commit d4696fa

Browse files
committed
Add pg_update C comment about problems with plpython_call_handler().
1 parent 16282ae commit d4696fa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

contrib/pg_upgrade/function.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,12 @@ check_loadable_libraries(void)
240240
* For this case, we could check pg_pltemplate, but that only works
241241
* for languages, and does not help with function shared objects,
242242
* so we just do a general fix.
243+
*
244+
* Some systems have plpython_call_handler() that references
245+
* "plpython" defined in the "public" schema, causing pg_dump to
246+
* dump it an generate an error on pg_dumpall restore; not sure
247+
* on the cause, see:
248+
* http://archives.postgresql.org/pgsql-hackers/2012-03/msg01101.php
243249
*/
244250
if (GET_MAJOR_VERSION(old_cluster.major_version) < 901 &&
245251
strcmp(lib, "$libdir/plpython") == 0)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy