Обсуждение: pgsql: Simplify option handling in pg_ctl.

Поиск
Список
Период
Сортировка

pgsql: Simplify option handling in pg_ctl.

От
Nathan Bossart
Дата:
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(-)