Re: notice handler in libpq-based driver - Mailing list pgsql-odbc

From Dave Page
Subject Re: notice handler in libpq-based driver
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4AC9F3B@ratbert.vale-housing.co.uk
Whole thread Raw
In response to notice handler in libpq-based driver  ("Scot Loach" <sloach@sandvine.com>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: notice handler in libpq-based driver
Next
From: Adão Paulino
Date:
Subject: lo type and ODBC