pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Simplify option handling in pg_ctl.
Date: Fri, 14 Jul 2023 19:40:19 +0000
Message-ID: <E1qKOeJ-000ND8-5I@gemulon.postgresql.org> (raw)

Simplify option handling in pg_ctl.

Now that the in-tree getopt_long() moves non-options to the end of
argv (see commit 411b720343), we can remove pg_ctl's workaround for
getopt_long() implementations that don't reorder argv.

Reviewed-by: Michael Paquier
Discussion: https://postgr.es/m/20230713034903.GA991765%40nathanxps13

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/03d1080d8a95d7ced90043f3aaad7d2aaeaedb1b

Modified Files
--------------
src/bin/pg_ctl/pg_ctl.c | 268 +++++++++++++++++++++++-------------------------
1 file changed, 128 insertions(+), 140 deletions(-)



Message-ID: <E1qKOeJ-000ND8-5I@gemulon.postgresql.org>
Permalink:  ../E1qKOeJ-000ND8-5I@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1qKOeJ-000ND8-5I@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Simplify option handling in pg_ctl.
  In-Reply-To: <E1qKOeJ-000ND8-5I@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox