From: Tom Lane Date: Wed, 4 Aug 2004 20:58:46 +0000 (+0000) Subject: Add LOG_NOWAIT flag to openlog() call, per my note of 2004-06-24. X-Git-Tag: REL8_0_0BETA1~69 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ecb68138e9d26324256db004c1783b4a41b75a33;p=postgresql Add LOG_NOWAIT flag to openlog() call, per my note of 2004-06-24. --- diff --git a/src/backend/utils/error/elog.c b/src/backend/utils/error/elog.c index 3eeee5ed8b..340cca03ca 100644 --- a/src/backend/utils/error/elog.c +++ b/src/backend/utils/error/elog.c @@ -37,7 +37,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/error/elog.c,v 1.144 2004/07/31 00:45:38 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/utils/error/elog.c,v 1.145 2004/08/04 20:58:46 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -1158,7 +1158,7 @@ write_syslog(int level, const char *line) syslog_fac = LOG_LOCAL6; if (pg_strcasecmp(Syslog_facility, "LOCAL7") == 0) syslog_fac = LOG_LOCAL7; - openlog(Syslog_ident, LOG_PID | LOG_NDELAY, syslog_fac); + openlog(Syslog_ident, LOG_PID | LOG_NDELAY | LOG_NOWAIT, syslog_fac); openlog_done = true; }