Re: pg_dump --exclude-* options documentation - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: pg_dump --exclude-* options documentation
Date
Msg-id alpine.DEB.2.21.1909020833520.19647@lancre
Whole thread Raw
In response to pg_dump --exclude-* options documentation  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: pg_dump --exclude-* options documentation
List pgsql-hackers
> We have the following options in pg_dump:
>
> --exclude-schema=schema
> --exclude-table=table
> --exclude-table-data=table
>
> and new in pg_dumpall:
>
> --exclude-database=pattern
>
> I was momentarily confused that the latter is documented as taking a
> "pattern" but the others are not.  Of course they all take the same kind
> of pattern.
>
> Should we change the documentation of the old pg_dump options to also
> take a "pattern", or change the documentation of the new pg_dumpall
> option to read "database"?

My 0.02€: we should use the more general and precise, i.e. pattern.

-- 
Fabien.

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pg_dump --exclude-* options documentation
Next
From: Michael Paquier
Date:
Subject: Re: pg_basebackup -F t fails when fsync spends more time thantcp_user_timeout