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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: korryd(at)enterprisedb(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Plugins redux (was Re: [PATCHES] PL instrumentation plugin support)
Date: 2006-08-09 18:27:33
Message-ID: 28037.1155148053@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Jeff Davis <pgsql(at)j-davis(dot)com> 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.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim C. Nasby 2006-08-09 18:42:05 Re: PostgreSQL performance enhancement when query planner fails to
Previous Message Jeff Davis 2006-08-09 18:17:38 Re: Plugins redux (was Re: [PATCHES] PL instrumentation

Browse pgsql-patches by date

  From Date Subject
Next Message Heikki Linnakangas 2006-08-09 19:04:17 Maintaining cluster order on insert
Previous Message Jeff Davis 2006-08-09 18:17:38 Re: Plugins redux (was Re: [PATCHES] PL instrumentation