Re: New pg_config behavior - Mailing list pgsql-hackers

From Tom Lane
Subject Re: New pg_config behavior
Date
Msg-id [email protected]
Whole thread Raw
In response to New pg_config behavior  (Peter Eisentraut <[email protected]>)
List pgsql-hackers
Peter Eisentraut <[email protected]> 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


pgsql-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: New Point Releases Available
Next
From: Ron Peacetree
Date:
Subject: Re: [PERFORM] A Better External Sort?