Thread: pgsql: Suppress extensions in partial dumps.

pgsql: Suppress extensions in partial dumps.

From
Tom Lane
Date:
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(-)