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: Improve pg_audit regression tests
Date: Thu, 14 May 2015 19:16:31 +0000
Message-ID: <E1YsycR-0003wh-Sq@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Improve pg_audit regression tests

Instead of creating a new superuser role, extract out what the current
user is and use that user instead.  Further, clean up and drop all
objects created by the regression test.

Pointed out by Tom.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/ed6ea8e815b4331c94f827f45054817e7e1a7784

Modified Files
--------------
contrib/pg_audit/expected/pg_audit.out |   47 +++++++++++++++++++++-----------
contrib/pg_audit/sql/pg_audit.sql      |   38 ++++++++++++++++++--------
2 files changed, 57 insertions(+), 28 deletions(-)


-- 
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: <E1YsycR-0003wh-Sq@gemulon.postgresql.org>
Permalink:  ../E1YsycR-0003wh-Sq@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1YsycR-0003wh-Sq@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: Improve pg_audit regression tests
  In-Reply-To: <E1YsycR-0003wh-Sq@gemulon.postgresql.org>
  References: <E1YsycR-0003wh-Sq@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