Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> writes:
>> Is that really what you want? I would have thought errors would be sent
>> to stderr and that every thing else would go to stdout.
> Yes, this is new. As I remember, some stuff is sent to stdout, and some
> to stderr, and there was some reason for that, though I can't remember
> what it was.
I've always thought that psql is pretty inconsistent, arbitrary, and
unreasonable about what it chooses to write to stdout vs stderr.
However, if we rejigger what goes where, we will surely break a lot of
users' shell scripts, since those already expect particular output to go
to one or the other. (We'd also break all the regression tests, but
at least those are within our power to fix.)
On the whole I'd vote against changing it --- a small improvement in
consistency is not worth the pain it will cause.
regards, tom lane
pgsql-hackers by date
|Next:||From: Thomas G. Lockhart||Date: 1998-12-31 16:58:23|
|Subject: Date/time fixes for HAVE_TM_ZONE platforms|
|Previous:||From: Andrey V Khavryutchenko||Date: 1998-12-31 10:39:15|
|Subject: Re: [HACKERS] problems recovering 6.1 db|