Re: notice handler in libpq-based driver

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: notice handler in libpq-based driver
Дата
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4AC9F3B@ratbert.vale-housing.co.uk
обсуждение исходный текст
Ответ на notice handler in libpq-based driver  ("Scot Loach" <sloach@sandvine.com>)
Список pgsql-odbc

> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org
> [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Tom Lane
> Sent: 07 September 2005 15:49
> To: Dave Page
> Cc: Scot Loach; pgsql-odbc@postgresql.org; Anoop Kumar
> Subject: Re: [ODBC] notice handler in libpq-based driver
>
> "Dave Page" <dpage@vale-housing.co.uk> writes:
> > No, I'm not sure how to handle this either - the old driver
> handled it
> > in the socket code along with other messages. I'm not sure
> how, with the
> > noticeProcessor, we would associate notices with specific
> statements or
> > connections.
>
> IIRC, the notice processor is passed a void pointer that you specify
> when you set up the notice hook.

Ahh yes, so it does. Thanks Tom.

Regards, Dave

В списке pgsql-odbc по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: notice handler in libpq-based driver
Следующее
От: Adão Paulino
Дата:
Сообщение: lo type and ODBC