postgresql/src/bin
Tom Lane df5d9bb8d5 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 Repair whitespace in initdb message. 2016-09-06 13:26:43 -04:00
pg_archivecleanup Fix a bunch of places that called malloc and friends with no NULL check. 2016-08-30 18:22:43 -04:00
pg_basebackup Simplify correct use of simple_prompt(). 2016-08-30 17:02:02 -04: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 Stamp HEAD as 10devel. 2016-08-15 13:49:49 -04:00
pg_xlogdump Split hash.h → hash_xlog.h 2016-08-29 18:55:49 -03:00
pgbench Simplify correct use of simple_prompt(). 2016-08-30 17:02:02 -04:00
pgevent Update copyright for 2016 2016-01-02 13:33:40 -05:00
psql Improve readability of the output of psql's \timing command. 2016-09-03 15:29:03 -04:00
scripts Simplify correct use of simple_prompt(). 2016-08-30 17:02:02 -04:00
Makefile Update copyright for 2016 2016-01-02 13:33:40 -05:00