Clarify Error Message Related to shared_preload_libraries

Fixes #363

This change modifies the error message given when Citus is attempted
to be loaded other than shared_preload_libraries. Explanations have been
extended with that shared_preload_parameters parameter is in
postgresql.conf and citus should be at the beginning.
pull/436/head
eren 2016-04-08 15:47:24 +03:00
parent a3b1b8944d
commit 3c8f275aa9
1 changed files with 4 additions and 1 deletions

View File

@ -83,7 +83,10 @@ _PG_init(void)
if (!process_shared_preload_libraries_in_progress)
{
ereport(ERROR, (errmsg("Citus can only be loaded via shared_preload_libraries"),
errhint("Add citus to shared_preload_libraries.")));
errhint("Add citus to shared_preload_libraries configuration "
"variable in postgresql.conf in master and workers. Note "
"that citus should be at the beginning of "
"shared_preload_libraries.")));
}
/*