Re: [PATCH] notice handler - Mailing list pgsql-odbc

From Dave Page
Subject Re: [PATCH] notice handler
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4CC2CF9@ratbert.vale-housing.co.uk
Whole thread Raw
In response to [PATCH] notice handler  ("Scot Loach" <sloach@sandvine.com>)
Responses Re: [PATCH] notice handler  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-odbc

> -----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.

pgsql-odbc by date:

Previous
From: "Dave Page"
Date:
Subject: Re: [PATCH] notice handler
Next
From: Tom Lane
Date:
Subject: Re: [PATCH] notice handler