Re: [PATCH] notice handler

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: [PATCH] notice handler
Дата
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4CC2CF9@ratbert.vale-housing.co.uk
обсуждение исходный текст
Ответ на [PATCH] notice handler  ("Scot Loach" <sloach@sandvine.com>)
Ответы Re: [PATCH] notice handler  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: [PATCH] notice handler
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] notice handler