Skip to content

Commit

Permalink
Fix error when shared_preload_libraries is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoslot committed Aug 21, 2017
1 parent eafc8b6 commit 6786e97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pg_cron.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ _PG_init(void)
if (!process_shared_preload_libraries_in_progress)
{
ereport(ERROR, (errmsg("pg_cron can only be loaded via shared_preload_libraries"),
errhint("Add pg_cron to shared_preload_libraries configuration "
"variable in postgresql.conf in master and workers.")));
errhint("Add pg_cron to the shared_preload_libraries "
"configuration variable in postgresql.conf.")));
}

DefineCustomStringVariable(
Expand Down

0 comments on commit 6786e97

Please sign in to comment.