diff options
Diffstat (limited to 'src/backend/utils/init/postinit.c')
-rw-r--r-- | src/backend/utils/init/postinit.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/backend/utils/init/postinit.c b/src/backend/utils/init/postinit.c index abc46d6317e..2eb456df45e 100644 --- a/src/backend/utils/init/postinit.c +++ b/src/backend/utils/init/postinit.c @@ -197,7 +197,16 @@ PerformAuthentication(Port *port) ereport(FATAL, (errmsg("could not load pg_hba.conf"))); } - load_ident(); + + if (!load_ident()) + { + /* + * It is ok to continue if we fail to load the IDENT file, although it + * means that you cannot log in using any of the authentication methods + * that need a user name mapping. load_ident() already logged the + * details of error to the log. + */ + } #endif /* |