Re: New pg_config behavior

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: New pg_config behavior
Date: 2005-10-04 13:52:58
Message-ID: 7647.1128433978@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> I have some doubts about the new pg_config behavior of printing "not recorded"
> when an item is not known. I doubt that this will cause automated users of
> this program to behave reasonably in error scenarios. I think a more
> reasonable behavior would be to use a non-zero exit status and possibly print
> a message to stderr and nothing to stdout.

Good point, although in practice that code only gets compiled in builds
with brain-dead Windows tools; I rather doubt that the resulting executable
would ever get used as you foresee. But if you want to change it, OK
with me.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-10-04 14:06:24 Re: [PERFORM] A Better External Sort?
Previous Message Dave Page 2005-10-04 13:25:24 Re: New Point Releases Available