Fix corner case for binary upgrade: extension functions in pg_catalog.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 15 Feb 2011 23:09:41 +0000 (18:09 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 15 Feb 2011 23:10:22 +0000 (18:10 -0500)
commit89c29c033154b717b16db2ee3c87bdec4393b0d4
treeaba4c4c2e0d03a6537099ebaff06474dad87eea0
parent8b2557553c6eeba97d9ebf6f048369cabd25c2b6
Fix corner case for binary upgrade: extension functions in pg_catalog.

Normally, pg_dump summarily excludes functions in pg_catalog from
consideration.  However, some extensions may create functions in pg_catalog
(adminpack already does that, and extensions for procedural languages will
likely do it too).  In binary-upgrade mode, we have to dump such functions,
or the extension will be incomplete after upgrading.  Per experimentation
with adminpack.
src/bin/pg_dump/pg_dump.c