| From: | "Merlin Moncure" <mmoncure(at)gmail(dot)com> |
|---|---|
| To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | "Andrew Dunstan" <andrew(at)dunslane(dot)net>, "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>, "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>, "Andrew Chernow" <ac(at)esilo(dot)com> |
| Subject: | Re: libpq object hooks |
| Date: | 2008-05-14 16:21:56 |
| Message-ID: | b42b73150805140921v30d24b75m6c230932c61ffdd2@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-patches |
On Wed, May 14, 2008 at 10:44 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrew Dunstan | 2008-05-14 16:22:23 | Re: [COMMITTERS] pgsql: Improve logic for finding object files on OBJS lines in contrib |
| Previous Message | Peter Eisentraut | 2008-05-14 16:18:34 | Re: Re: [COMMITTERS] pgsql: Improve logic for finding object files on OBJS lines in contrib |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrew Chernow | 2008-05-14 16:34:08 | Re: libpq object hooks |
| Previous Message | Andrew Chernow | 2008-05-14 16:02:17 | Re: libpq object hooks |