1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-09 17:03:00 +03:00

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.
This commit is contained in:
Stephen Frost
2015-05-14 10:57:12 -04:00
parent ac52bb0442
commit dfb7624a13

View File

@@ -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",