Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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(-)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group