Re: libpq object hooks - Mailing list pgsql-patches

From Merlin Moncure
Subject Re: libpq object hooks
Date
Msg-id b42b73150805140921v30d24b75m6c230932c61ffdd2@mail.gmail.com
Whole thread Raw
In response to Re: libpq object hooks  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: libpq object hooks  (Andrew Chernow <ac@esilo.com>)
List pgsql-patches
On Wed, May 14, 2008 at 10:44 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I'm wondering why the hooks need names at all.  AFAICS all that
> libpq needs to know about a hook is a callback function address
> and a void * passthrough pointer.

For reference...here is what libpqtypes has to do to bind via the
hooking interface:
http://libpqtypes.esilo.com/browse_source.html?file=hooks.c

Are you proposing something substantially different (not my handle
suggestion)? How would it work exactly?

merlin

pgsql-patches by date:

Previous
From: Andrew Chernow
Date:
Subject: Re: libpq object hooks
Next
From: Andrew Chernow
Date:
Subject: Re: libpq object hooks