Re: [PATCH] notice handler

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Scot Loach" <sloach(at)sandvine(dot)com>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: [PATCH] notice handler
Date: 2005-09-17 22:19:40
Message-ID: 9633.1126995580@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

"Scot Loach" <sloach(at)sandvine(dot)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.

regards, tom lane

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Dave Page 2005-09-17 22:27:44 Re: [PATCH] notice handler
Previous Message Dave Page 2005-09-17 22:16:28 Re: [PATCH] fix for wrong error code returned