pgsql: Suppress extensions in partial dumps.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Suppress extensions in partial dumps.
Date: 2011-05-25 20:27:47
Message-ID: E1QPKgF-00036o-Pb@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Suppress extensions in partial dumps.

We initially had pg_dump emit CREATE EXTENSION commands unconditionally.
However, pg_dump has long been in the habit of not dumping procedural
language definitions when a --schema or --table switch is given. It seems
appropriate to handle extensions the same way, since like PLs they are SQL
objects that are not in any particular schema. Per complaint from Adrian
Schreyer.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7b158d1baed859971c1aa792bff6a7e1f721cf91

Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2011-05-26 21:30:02 pgsql: Adjust configure to use "+Olibmerrno" with HP-UX C compiler, if
Previous Message Peter Eisentraut 2011-05-25 18:55:35 pgsql: Put options in some sensible order