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

From: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Add hooks for session start and session end
Date: 2017-11-15 19:17:26
Message-ID: 762a0864-a831-1009-c2c7-297695d1e3e4@2ndQuadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On 11/15/2017 01:56 PM, Tom Lane wrote:
> Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
>> On 11/15/2017 11:50 AM, Tom Lane wrote:
>>> Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
>>>> Add hooks for session start and session end
>>> Buildfarm doesn't like this one bit :-(
>> Strange, it worked when I tested. I'll look into it.
> Looks to me like the problem is that the test can only work in "check"
> mode, not "installcheck" mode, because in the latter case you don't
> get to do preloaded libraries.
>
>

Yeah, that was my first instinct. But then how do the test_rls_hooks
tests succeed? They too have a shared_preload_library.

cheers

andrew

--
Andrew Dunstan https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2017-11-15 21:11:13 Re: pgsql: Add hooks for session start and session end
Previous Message Tom Lane 2017-11-15 18:56:05 Re: pgsql: Add hooks for session start and session end

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Dilger 2017-11-15 20:02:16 Re: Updated macOS start scripts
Previous Message Robert Haas 2017-11-15 19:09:13 Re: [HACKERS] Parallel Hash take II