Andrew Dunstan <[EMAIL PROTECTED]> writes:
> Tom Lane wrote:
>> It might work to use the address of the hook callback function as
>> a key for retrieving the associated void * pointer. You'd need to
>> not register the same callback function more than once per object,
>> but from what I gather here you don't need to.
> Or else have the library return a unique handle when registering hooks,
> rather than supplying a hook name.
Uh, how would that solve your problem? Seems like the difficulty
shifts from "how do I get the hook data" to "how do I get the key
with which to get the hook data".
regards, tom lane
Sent via pgsql-patches mailing list (email@example.com)
To make changes to your subscription: