> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org
> [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Tom Lane
> Sent: 17 September 2005 23:20
> To: Scot Loach
> Cc: pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] [PATCH] notice handler
>
> "Scot Loach" <sloach@sandvine.com> writes:
> > This patch fill fix the notice handler so that the odbc
> driver doesn't output notices from the backend to stderr.
>
> Why is that a "fix" and not "breaking it"? It sounds pretty
> ill-advised
> to me. In particular, notices sent when not inside a query
> are usually
> pretty significant (ie, the backend telling you why it's about to cut
> off your connection), and I can't see a justification for arbitrarily
> suppressing them.
It doesn't suppress them, it processes them as a non-fatal message so
the app can deal with them rather than just dumping them to stderr.
Regards, Dave.