Re: Badly designed error reporting code in controldata_utils.c

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: Badly designed error reporting code in controldata_utils.c
Дата
Msg-id 56DCE141.6080109@joeconway.com
обсуждение исходный текст
Ответ на Re: Badly designed error reporting code in controldata_utils.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Badly designed error reporting code in controldata_utils.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 03/06/2016 05:47 PM, Tom Lane wrote:
> Joe Conway <mail@joeconway.com> writes:
>> Something like the attached what you had in mind?
>
> That's much better, but is there a reason you're using exit(2)
> and not exit(EXIT_FAILURE) ?

Only because I was trying to stick with what was originally in
src/bin/pg_controldata/pg_controldata.c

Joe

--
Crunchy Data - http://crunchydata.com
PostgreSQL Support for Secure Enterprises
Consulting, Training, & Open Source Development


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

Предыдущее
От: Ioseph Kim
Дата:
Сообщение: Re: JPUG wants to have a copyright notice on the translated doc
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: JPUG wants to have a copyright notice on the translated doc