From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Fix corner case for binary upgrade: extension functions in pg_ca |
Date: | 2011-02-15 23:10:35 |
Message-ID: | E1PpU2V-0001C3-Do@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/89c29c033154b717b16db2ee3c87bdec4393b0d4
Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 47 ++++++++++++++++++++++++++++++++++++--------
1 files changed, 38 insertions(+), 9 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2011-02-16 00:02:26 | pgsql: Fix bug in 9.1 pg_upgrade processing of old/new relations; adju |
Previous Message | Alvaro Herrera | 2011-02-15 23:00:39 | Re: [COMMITTERS] pgsql: Adjust pg_upgrade error message, array freeing, and add error ch |