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: (view raw, whole thread or download thread mbox)
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



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-2018 The PostgreSQL Global Development Group