mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-15 08:20:16 +08:00
Change hba load failure message to LOG instead of WARNING.
Per comment from Tom.
This commit is contained in:
parent
fb7df896fc
commit
d7d7157109
@ -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)));
|
||||||
|
Loading…
Reference in New Issue
Block a user