Re: pg_resetwal: add --cluster-state option - Mailing list pgsql-hackers

From Sho Ito
Subject Re: pg_resetwal: add --cluster-state option
Date
Msg-id CAG7L5+7q7-Gq5OEWaWYx7+eP7Qej88k9F7BP7c7u-C2_w=3w6g@mail.gmail.com
Whole thread
In response to Re: pg_resetwal: add --cluster-state option  (shihao zhong <zhong950419@gmail.com>)
List pgsql-hackers
On Fri, Oct 9, 2026 at 1:02 AM shihao zhong <zhong950419@gmail.com> wrote:
Hi Sho, Chao,

Thanks for looking. v2 is attached.

Sho Ito wrote:
> I noticed that an invalid value for `--cluster-state` directs the user
> to `--help`, but the help output doesn't list the accepted values.

Agreed, --help lists them now.

Hi Shihao,

Thanks. I built v2 on master with assertions enabled and verified the help
output and current/new state display in `--dry-run`. All six accepted states
were stored correctly.

Thanks,
Sho 

--
=======================================
Sho Ito (Sean)

=======================================

pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: [PG19] Wrong results from NOT NULL-based expression simplification
Next
From: "Jonathan S. Katz"
Date:
Subject: Updated PostgreSQL RC / GA dates