| From: | Nathan Bossart <nathan(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Simplify option handling in pg_ctl. |
| Date: | 2023-07-14 19:40:19 |
| Message-ID: | E1qKOeJ-000ND8-5I@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Rowley | 2023-07-16 23:18:10 | pgsql: Shrink memory contexts struct sizes |
| Previous Message | Tom Lane | 2023-07-14 15:46:42 | pgsql: Allow plan nodes with initPlans to be considered parallel-safe. |