Re: [HACKERS] Plugins redux (was Re: [PATCHES] PL instrumentation plugin support)

2006-08-09 Thread Tom Lane
Jeff Davis <[EMAIL PROTECTED]> writes: > I know this is a trivial question, but is there some kind of lock that > would prevent the PG_fini for the plpgsql debugger from executing after > "if(*plugin_ptr)" and before "((*plugin_ptr)->function_field)(...)"? Backends are not multi-threaded.

[HACKERS] Plugins redux (was Re: [PATCHES] PL instrumentation plugin support)

2006-08-09 Thread Tom Lane
Yesterday I suggested that we should redesign the PL plugin patch: http://archives.postgresql.org/pgsql-patches/2006-07/msg00291.php in view of the recently-committed patch to add initialization/ finalization support for all dynamic libraries loaded into the backend: http://archives.postgresql.org/