Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+6
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)