Add the -N/--exclude-schema option for pg_dump.

This commit is contained in:
J Smith 2012-09-10 16:37:11 -04:00
parent bc8ef15557
commit d1e2e96be8
1 changed files with 1 additions and 0 deletions

View File

@ -189,6 +189,7 @@ _pg_dump () {
{-F+,--format=}':output format:_values "format" "p[plain text]" "t[tar]" "c[custom]"' \
{-i,--ignore-version}'[ignore version mismatch]' \
{-n+,--schema=}':schema to dump:_pgsql_schemas' \
{-N+,--exclude-schema=}':schema to NOT dump:_pgsql_schemas' \
{-o,--oids}'[dump objects identifiers for every table]' \
{-O,--no-owner}'[dont recreate as same owner]' \
{-R,--no-reconnect}'[dont output connect]' \