Re: Plugins redux (was Re: [PATCHES] PL instrumentation plugin support) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Plugins redux (was Re: [PATCHES] PL instrumentation plugin support)
Date
Msg-id 28037.1155148053@sss.pgh.pa.us
Whole thread Raw
In response to Re: Plugins redux (was Re: [PATCHES] PL instrumentation  (Jeff Davis <pgsql@j-davis.com>)
List pgsql-hackers
Jeff Davis <pgsql@j-davis.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


pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Plugins redux (was Re: [PATCHES] PL instrumentation
Next
From: "Jim C. Nasby"
Date:
Subject: Re: PostgreSQL performance enhancement when query planner fails to