pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Add hooks for session start and session end
Date: Wed, 15 Nov 2017 14:17:26 -0500
Message-ID: <762a0864-a831-1009-c2c7-297695d1e3e4@2ndQuadrant.com> (raw)
In-Reply-To: <21509.1510772165@sss.pgh.pa.us>
References: <E1eEzZG-0001kP-KI@gemulon.postgresql.org>
	<10176.1510764611@sss.pgh.pa.us>
	<575d6fa2-78d0-4456-8600-302fc35b2591@dunslane.net>
	<21509.1510772165@sss.pgh.pa.us>



On 11/15/2017 01:56 PM, Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>> On 11/15/2017 11:50 AM, Tom Lane wrote:
>>> Andrew Dunstan <andrew@dunslane.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





view thread (29+ messages)  latest in thread

Message-ID: <762a0864-a831-1009-c2c7-297695d1e3e4@2ndQuadrant.com>
Permalink:  ../762a0864-a831-1009-c2c7-297695d1e3e4@2ndQuadrant.com/
Also on:    postgresql.org/message-id/762a0864-a831-1009-c2c7-297695d1e3e4@2ndQuadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: andrew.dunstan@2ndquadrant.com, tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Add hooks for session start and session end
  In-Reply-To: <762a0864-a831-1009-c2c7-297695d1e3e4@2ndQuadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox