postgresql/src/bin
Tom Lane 31eb14504d Allow pg_dump to dump non-extension members of an extension-owned schema.
Previously, if a schema was created by an extension, a normal pg_dump run
(not --binary-upgrade) would summarily skip every object in that schema.
In a case where an extension creates a schema and then users create other
objects within that schema, this does the wrong thing: we want pg_dump
to skip the schema but still create the non-extension-owned objects.

There's no easy way to fix this pre-9.6, because in earlier versions the
"dump" status for a schema is just a bool and there's no way to distinguish
"dump me" from "dump my members".  However, as of 9.6 we do have enough
state to represent that, so this is a simple correction of the logic in
selectDumpableNamespace.

In passing, make some cosmetic fixes in nearby code.

Martín Marqués, reviewed by Michael Paquier

Discussion: <99581032-71de-6466-c325-069861f1947d@2ndquadrant.com>
2016-09-08 13:12:01 -04:00
..
initdb Fix initdb misbehavior when user mis-enters superuser password. 2016-08-30 15:25:01 -04:00
pg_archivecleanup pgindent run for 9.6 2016-06-09 18:02:36 -04:00
pg_basebackup Fix pg_receivexlog --synchronous 2016-08-29 12:18:12 +01:00
pg_config Translation updates 2016-08-08 11:08:00 -04:00
pg_controldata Translation updates 2016-08-08 11:08:00 -04:00
pg_ctl Translation updates 2016-08-08 11:08:00 -04:00
pg_dump Allow pg_dump to dump non-extension members of an extension-owned schema. 2016-09-08 13:12:01 -04:00
pg_resetxlog Translation updates 2016-08-08 11:08:00 -04:00
pg_rewind Translation updates 2016-08-08 11:08:00 -04:00
pg_test_fsync Move pg_test_fsync from contrib/ to src/bin/ 2015-04-19 22:20:49 -04:00
pg_test_timing Move pg_test_timing from contrib/ to src/bin/ 2015-04-20 21:30:12 -04:00
pg_upgrade Obstruct shell, SQL, and conninfo injection via database and role names. 2016-08-08 10:07:46 -04:00
pg_xlogdump Remove reference to range mode in pg_xlogdump error 2016-07-14 15:39:01 +02:00
pgbench pgindent run for 9.6 2016-06-09 18:02:36 -04:00
pgevent Update copyright for 2016 2016-01-02 13:33:40 -05:00
psql Translation updates 2016-08-29 12:00:00 -04:00
scripts Build libpgfeutils before pg_isready. 2016-08-23 23:41:04 -04:00
Makefile Update copyright for 2016 2016-01-02 13:33:40 -05:00