Re: Badly designed error reporting code in controldata_utils.c

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Badly designed error reporting code in controldata_utils.c
Date: 2016-03-07 01:47:22
Message-ID: 26473.1457315242@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Joe Conway <mail(at)joeconway(dot)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) ?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ioseph Kim 2016-03-07 01:53:44 Re: JPUG wants to have a copyright notice on the translated doc
Previous Message pokurev 2016-03-07 01:44:13 Re: [PROPOSAL] VACUUM Progress Checker.