Skip to content

Commit ecb6813

Browse files
committed
Add LOG_NOWAIT flag to openlog() call, per my note of 2004-06-24.
1 parent 55dc7fa commit ecb6813

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/utils/error/elog.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
*
3838
*
3939
* IDENTIFICATION
40-
* $PostgreSQL: pgsql/src/backend/utils/error/elog.c,v 1.144 2004/07/31 00:45:38 tgl Exp $
40+
* $PostgreSQL: pgsql/src/backend/utils/error/elog.c,v 1.145 2004/08/04 20:58:46 tgl Exp $
4141
*
4242
*-------------------------------------------------------------------------
4343
*/
@@ -1158,7 +1158,7 @@ write_syslog(int level, const char *line)
11581158
syslog_fac = LOG_LOCAL6;
11591159
if (pg_strcasecmp(Syslog_facility, "LOCAL7") == 0)
11601160
syslog_fac = LOG_LOCAL7;
1161-
openlog(Syslog_ident, LOG_PID | LOG_NDELAY, syslog_fac);
1161+
openlog(Syslog_ident, LOG_PID | LOG_NDELAY | LOG_NOWAIT, syslog_fac);
11621162
openlog_done = true;
11631163
}
11641164

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy