pgsql: Simplify option handling in pg_ctl. - Mailing list pgsql-committers

From Nathan Bossart
Subject pgsql: Simplify option handling in pg_ctl.
Date
Msg-id E1qKOeJ-000ND8-5I@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Allow plan nodes with initPlans to be considered parallel-safe.
Next
From: David Rowley
Date:
Subject: pgsql: Shrink memory contexts struct sizes