Re: [patch] Help information for pg_dump

From: Dilip Kumar <dilipbalaut(at)gmail(dot)com>
To: Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>
Cc: "Zhang, Jie" <zhangjie2(at)cn(dot)fujitsu(dot)com>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [patch] Help information for pg_dump
Date: 2021-01-19 10:50:38
Message-ID: CAFiTN-s2ukULXKEpjKSweuTYOOKWYTtze9nyyN22j0HHyF3+4g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jan 19, 2021 at 11:24 AM Bharath Rupireddy
<bharath(dot)rupireddyforpostgres(at)gmail(dot)com> wrote:
>
> On Tue, Jan 19, 2021 at 9:07 AM Zhang, Jie <zhangjie2(at)cn(dot)fujitsu(dot)com> wrote:
> >
> > Hi all
> >
> > After executing command [pg_dump -?], some help information is as follows.
> >
> > pg_dump -?
> > -----------------------------------------------------------------
> > -N, --exclude-schema=PATTERN do NOT dump the specified schema(s) ※
> > -T, --exclude-table=PATTERN do NOT dump the specified table(s) ※
> > -x, --no-privileges do not dump privileges (grant/revoke)
> > --exclude-table-data=PATTERN do NOT dump data for the specified table(s) ※
> > --no-comments do not dump comments
> > --no-publications do not dump publications
> > --no-security-labels do not dump security label assignments
> > --no-subscriptions do not dump subscriptions
> > --no-synchronized-snapshots do not use synchronized snapshots in parallel jobs
> > --no-tablespaces do not dump tablespace assignments
> > --no-unlogged-table-data do not dump unlogged table data
> > --------------------------------------------------------------------
> >
> > I think it would be better to change [do NOT dump] to [do not dump].
> >
> > Here is a patch.
>
> +1. Looks like SQL keywords are mentioned in capital letters in both
> pg_dump and pg_dumpall cases, so changing "do NOT" to "do not" seems
> okay to me.
>
> Patch LGTM.

Also "do NOT" is inconsistent with the other message where we are
saying "do not" so +1

--
Regards,
Dilip Kumar
EnterpriseDB: http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message James Hilliard 2021-01-19 11:16:25 [PATCH 1/1] Fix detection of pwritev support for OSX.
Previous Message Laurenz Albe 2021-01-19 10:46:55 Re: Add primary keys to system catalogs