Re: PATCH: add "--config-file=" option to pg_rewind

Jacob Champion <pchampion@vmware.com>

From: Jacob Champion <pchampion@vmware.com>
To: "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>, "gunnar.bluth@pro-open.de" <gunnar.bluth@pro-open.de>
Date: 2022-02-23T17:21:15Z
Lists: pgsql-hackers
On Wed, 2022-02-23 at 16:28 +0100, Gunnar "Nick" Bluth wrote:
> I'm extremely unhappy that I called it "--config-file" here, while 
> "postgres" itself wants "--config_file". But as the other dashed options 
> of pg_rewind are, well, dashed and not underscored, it seemed to be 
> better that the other way...

The "--"-style options to postgres take either underscores or dashes in
the names (just double-checked with PG14), so this shouldn't be a
problem.

--Jacob

Commits

  1. Add option --config-file to pg_rewind

  2. Rework internal command generation of pg_rewind