pgsql: pg_waldump: Improve option parsing error messages

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: pg_waldump: Improve option parsing error messages
Дата
Msg-id E1nrxJu-000F8d-Gd@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
pg_waldump: Improve option parsing error messages

I rephrased the error messages to be more in the style of
option_parse_int(), and also made use of the new "detail" message
facility.  I didn't actually use option_parse_int() (which could be
used for -n) because libpgfeutils wasn't used here yet and I wanted to
keep this just to string changes.  But it could be done in the future.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/25f915b31e41e5c86e1905d199c7d41cc66161ed

Modified Files
--------------
src/bin/pg_waldump/pg_waldump.c | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Doc: clarify location of libpq's default service file on Windows
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: doc: Explain 'invalid' index state for CREATE INDEX CONCURRENTLY