Re: pgsql: Add hooks for session start and session end

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Add hooks for session start and session end
Date: 2017-11-15 21:30:44
Message-ID: 5681.1510781444@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2017-11-15 21:53:17 Re: pgsql: Add hooks for session start and session end
Previous Message Andrew Dunstan 2017-11-15 21:11:13 Re: pgsql: Add hooks for session start and session end

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2017-11-15 21:32:17 Re: Further simplification of c.h's #include section
Previous Message Robert Haas 2017-11-15 21:30:28 Re: [HACKERS] Inconsistencies between pg_settings and postgresql.conf