[HACKERS] libpq events update

2008-09-05 Thread Andrew Chernow
I would like to remove the PQpassThroughData and PQresultPassThroughData functions.The passThrough pointer should be added as a 3rd argument to the PGEventProc: typedef int (*PGEventProc)(PGEventId evtId, void *evtInfo, void *passThrough); Having a public accessor function for the

Re: [HACKERS] libpq events update

2008-09-05 Thread Andrew Chernow
Andrew Chernow wrote: I think it got confused with the instanceData feature, which has nothing to do with the event system and requires public functions. libpqtypes happens to use the instanceData functions within its eventproc, but this is not a requirement. I forgot to mention that

Re: [HACKERS] libpq events update

2008-09-05 Thread Merlin Moncure
On Fri, Sep 5, 2008 at 9:54 AM, Andrew Chernow [EMAIL PROTECTED] wrote: Andrew Chernow wrote: I think it got confused with the instanceData feature, which has nothing to do with the event system and requires public functions. libpqtypes happens to use the instanceData functions within its