aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Frost <sfrost@snowman.net>2015-05-14 10:57:12 -0400
committerStephen Frost <sfrost@snowman.net>2015-05-14 10:57:12 -0400
commitdfb7624a13277e7662a2c983e4440dcd522c16f1 (patch)
tree7c635a85d686ec180cc2ce7a22b306b98efb971e
parentac52bb0442f79076b14acd8ad5b696946c1053b8 (diff)
downloadpostgresql-dfb7624a13277e7662a2c983e4440dcd522c16f1.tar.gz
postgresql-dfb7624a13277e7662a2c983e4440dcd522c16f1.zip
Fix buildfarm with regard to pg_audit
Remove the check that pg_audit be installed by shared_preload_libraries as that's not going to work when running the regressions tests in the buildfarm. That check was primairly a nice to have and isn't required anyway.
-rw-r--r--contrib/pg_audit/pg_audit.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/contrib/pg_audit/pg_audit.c b/contrib/pg_audit/pg_audit.c
index 384fc074814..558a96a471a 100644
--- a/contrib/pg_audit/pg_audit.c
+++ b/contrib/pg_audit/pg_audit.c
@@ -1728,11 +1728,6 @@ assign_pg_audit_log_level(const char *newVal, void *extra)
void
_PG_init(void)
{
- if (IsUnderPostmaster)
- ereport(ERROR,
- (errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
- errmsg("pg_audit must be loaded via shared_preload_libraries")));
-
/* Define pg_audit.log */
DefineCustomStringVariable(
"pg_audit.log",