Content-Length: 263531 | pFad | http://github.com/postgrespro/postgres/commit/d4696fa68f88f371e9da77cc0319fa0b947fd911

EB Add pg_update C comment about problems with plpython_call_handler(). · postgrespro/postgres@d4696fa · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/d4696fa68f88f371e9da77cc0319fa0b947fd911

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy