Re: Patch to be verbose about being unable to read ~/.pgpasss... - Mailing list pgsql-patches

From Tom Lane
Subject Re: Patch to be verbose about being unable to read ~/.pgpasss...
Date
Msg-id 16599.1056426906@sss.pgh.pa.us
Whole thread Raw
In response to Re: Patch to be verbose about being unable to read ~/.pgpasss...  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I don't have problems sending the output to stderr myself.

That's because you don't run libpq in any contexts where that behavior
is inappropriate ... but there are plenty such contexts.  Most GUI
applications will want to trap any and all notices and put them up in
a window; sending to stderr is likely to mean sending to /dev/null,
or at best a logfile that the user will never look at.

            regards, tom lane

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Subtraction carry bug in xlog.c in 7.3 and 7.4
Next
From: Devrim GUNDUZ
Date:
Subject: .pot files are unavailable (?)