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