Re: pg_dump --exclude-* options documentation

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_dump --exclude-* options documentation
Date: 2019-09-02 06:34:56
Message-ID: alpine.DEB.2.21.1909020833520.19647@lancre
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2019-09-02 06:40:57 Re: pg_basebackup -F t fails when fsync spends more time than tcp_user_timeout
Previous Message Peter Eisentraut 2019-09-02 06:32:22 pg_dump --exclude-* options documentation