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.