Re: Add --system-identifier / -s option to pg_resetwal - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Add --system-identifier / -s option to pg_resetwal
Date
Msg-id 3901ecf7-def2-4718-86f4-64ef48758f8c@eisentraut.org
Whole thread Raw
List pgsql-hackers
On 31.05.25 20:52, Nikolay Samokhvalov wrote:
> the attached patch adds a new -s / --system-identifier option to 
> pg_resetwal that allows users to change the database cluster's system 
> identifier; it can be useful when you need to make a restored cluster 
> distinct from the original, or when cloning for testing

Maybe we can stop eating up short options?  A long option seems 
sufficient for this.

> - requires interactive confirmation or --force flag for safety

I don't see the need for interactive confirmation here.  The user would 
have explicitly chosen the option, so they get what they asked for.





pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [PATCH] PGSERVICEFILE as part of a normal connection string
Next
From: Peter Eisentraut
Date:
Subject: Re: C11 / VS 2019