Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-odbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group