Pass a strdup'd ident string to openlog(), to ensure that reallocation
Tom Lane <tgl@sss.pgh.pa.us>
Pass a strdup'd ident string to openlog(), to ensure that reallocation of GUC memory doesn't cause us to start emitting a bogus ident string. Per report from Han Holl. Also some trivial code cleanup in write_syslog.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/error/elog.c | modified | +8 −3 |