Re: pgsql: Add hooks for session start and session end - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Add hooks for session start and session end
Date
Msg-id 5681.1510781444@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Add hooks for session start and session end  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
Responses Re: pgsql: Add hooks for session start and session end  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
List pgsql-committers
Andrew Dunstan <andrew.dunstan@2ndquadrant.com> writes:
> On 11/15/2017 02:17 PM, Andrew Dunstan wrote:
>> Yeah, that was my first instinct. But then how do the test_rls_hooks
>> tests succeed? They too have a shared_preload_library.

> Aha, it does
>     LOAD 'test_rls_hooks';
> at the start of its script. Of course we can't do that here.

> Not sure what the best way to resolve this is. For now I'm inclined just
> to override the installcheck target in the module's makefile and disable
> it in vcregress.pl.

Yeah.

> Maybe we need to shift from installcheck to check mode for these
> modules. That would involve a buildfarm script change.

Seems like expending an awful lot of cycles in support of a rather trivial
feature.
        regards, tom lane


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: pgsql: Add hooks for session start and session end
Next
From: Andrew Dunstan
Date:
Subject: Re: pgsql: Add hooks for session start and session end