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(-)