Re: Add --system-identifier / -s option to pg_resetwal

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Add --system-identifier / -s option to pg_resetwal
Дата
Msg-id 3901ecf7-def2-4718-86f4-64ef48758f8c@eisentraut.org
обсуждение исходный текст
Список 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 по дате отправления: