pgsql: Improve pg_audit regression tests

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve pg_audit regression tests
Date: 2015-05-14 19:16:31
Message-ID: E1YsycR-0003wh-Sq@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Stephen Frost 2015-05-14 19:21:35 Re: pgsql: Add pg_audit, an auditing extension
Previous Message Tom Lane 2015-05-14 18:59:14 pgsql: Docs: fix erroneous claim about max byte length of GB18030.