Improve pg_audit regression tests
authorStephen Frost <sfrost@snowman.net>
Thu, 14 May 2015 19:16:27 +0000 (15:16 -0400)
committerStephen Frost <sfrost@snowman.net>
Thu, 14 May 2015 19:16:27 +0000 (15:16 -0400)
commited6ea8e815b4331c94f827f45054817e7e1a7784
tree7d4e6ca03bd2bd7039a57ad3fba277523ea82a30
parent333d0779627a6c6125c018ea39da4427d3bdd93f
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.
contrib/pg_audit/expected/pg_audit.out
contrib/pg_audit/sql/pg_audit.sql