pgsql: initdb: Improve --wal-segsize handling

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: initdb: Improve --wal-segsize handling
Date: 2018-03-24 19:47:14
Message-ID: E1ezp8E-0007Ij-Bk@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

initdb: Improve --wal-segsize handling

Give separate error messages for when the argument is not a number and
when it is not the right kind of number.

Fix wording in the help message.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/496d56670af44a2a578c15195c36f797e29cff24

Modified Files
--------------
src/bin/initdb/initdb.c | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2018-03-24 21:25:02 Re: pgsql: Avoid premature free of pass-by-reference CALL arguments.
Previous Message Noah Misch 2018-03-24 03:36:06 pgsql: Don't qualify type pg_catalog.text in extend-extensions-example.