Simplify option handling in pg_ctl.
Nathan Bossart <nathan@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_ctl/pg_ctl.c | modified | +128 −140 |
Discussion
- add non-option reordering to in-tree getopt_long 37 messages · 2023-06-09 → 2023-12-19