From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
Cc: | PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: pg_verify_checksums review |
Date: | 2018-06-20 12:37:36 |
Message-ID: | CABUevEzEP7S3TxfHHe2Y82KvyZwpPWyvU80NJGrtQsQEXf-Ucg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Jun 19, 2018 at 10:25 AM, Daniel Gustafsson <daniel(at)yesql(dot)se> wrote:
> In looking over pg_verify_checksums I found a few small things that I think
> would improve on it:
>
> * pg_verify_checksums was placed in the Client Utils section in the docs.
> Since it requries physical access to the cluster datafiles it seems to
> belong
> in the Server Utils section.
>
Makes sense.
* The -D option and supported environment variable wasn’t documented.
>
> * Only -D is supported for specifying the data directory, but most all
> other
> utilities also support --pgdata on top of -D. To present a consistent user
> interface we should probably support --pgdata in pg_verify_checksums as
> well.
> The latter is I assume too invasive as we are past the freeze, but the
> first
> two docs patches would make sense in 11 IMO as they document whats in the
> tree.
>
> The attached patches fixes the above mentioned things (I don’t have a docs
> toolchain working right now so the docs patches are best effort).
>
I believe both those are fine for 11, so I've pushed that. I kept it as a
separate patch to make it easy enough to revert it if people prefer that :)
--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/>
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2018-06-20 12:52:23 | Re: Fix some error handling for read() and errno |
Previous Message | David Rowley | 2018-06-20 12:25:03 | Re: Excessive CPU usage in StandbyReleaseLocks() |