pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Fix installcheck for test_rls_hooks
Date: Wed, 22 Apr 2015 16:44:12 +0000
Message-ID: <E1Ykxky-0003YF-WF@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Fix installcheck for test_rls_hooks

As pointed out by the buildfarm, test_rls_hooks wasn't functioning
properly with a clean installcheck.  test_rls_hooks needs to explicitly
load the library with the hooks in it, to allow installcheck to work;
using the --temp-config doesn't help since that isn't used when running
installcheck and it isn't exactly fair to the buildfarm to modify the
installed config prior to calling installcheck.

Also, have test_rls_hooks clean up after itself.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/450fa1b5ba0e986a20d8c017500c0c0bbf1e0b4b

Modified Files
--------------
src/test/modules/test_rls_hooks/expected/test_rls_hooks.out |    7 +++++++
src/test/modules/test_rls_hooks/sql/test_rls_hooks.sql      |   11 +++++++++++
2 files changed, 18 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1Ykxky-0003YF-WF@gemulon.postgresql.org>
Permalink:  ../E1Ykxky-0003YF-WF@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1Ykxky-0003YF-WF@gemulon.postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: sfrost@snowman.net
  Subject: Re: pgsql: Fix installcheck for test_rls_hooks
  In-Reply-To: <E1Ykxky-0003YF-WF@gemulon.postgresql.org>
  References: <E1Ykxky-0003YF-WF@gemulon.postgresql.org>

* 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