Change hba load failure message to LOG instead of WARNING.

Per comment from Tom.
This commit is contained in:
Magnus Hagander 2009-03-04 18:43:38 +00:00
parent fb7df896fc
commit d7d7157109

View File

@ -10,7 +10,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/libpq/hba.c,v 1.181 2009/03/04 08:43:15 mha Exp $ * $PostgreSQL: pgsql/src/backend/libpq/hba.c,v 1.182 2009/03/04 18:43:38 mha Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -1308,7 +1308,7 @@ load_hba(void)
file = AllocateFile(HbaFileName, "r"); file = AllocateFile(HbaFileName, "r");
if (file == NULL) if (file == NULL)
{ {
ereport(WARNING, ereport(LOG,
(errcode_for_file_access(), (errcode_for_file_access(),
errmsg("could not open configuration file \"%s\": %m", errmsg("could not open configuration file \"%s\": %m",
HbaFileName))); HbaFileName)));