Re: notice handler in libpq-based driver

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Scot Loach" <sloach(at)sandvine(dot)com>, <pgsql-odbc(at)postgresql(dot)org>, "Anoop Kumar" <anoopk(at)pervasive-postgres(dot)com>
Subject: Re: notice handler in libpq-based driver
Date: 2005-09-07 15:09:10
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E4AC9F3B@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

> -----Original Message-----
> From: pgsql-odbc-owner(at)postgresql(dot)org
> [mailto:pgsql-odbc-owner(at)postgresql(dot)org] On Behalf Of Tom Lane
> Sent: 07 September 2005 15:49
> To: Dave Page
> Cc: Scot Loach; pgsql-odbc(at)postgresql(dot)org; Anoop Kumar
> Subject: Re: [ODBC] notice handler in libpq-based driver
>
> "Dave Page" <dpage(at)vale-housing(dot)co(dot)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

Browse pgsql-odbc by date

  From Date Subject
Next Message Marc Herbert 2005-09-07 18:16:03 Re: Continuing encoding fun....
Previous Message Tom Lane 2005-09-07 14:48:59 Re: notice handler in libpq-based driver