Pass a strdup'd ident string to openlog(), to ensure that reallocation
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 14 Oct 2005 16:41:28 +0000 (16:41 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 14 Oct 2005 16:41:28 +0000 (16:41 +0000)
commita4baf229a4298bf478c23ca74685f8703dfd3517
treee61c17853f3acbdb02c352af2158fe59ccf78c0c
parente257f28db012b0c5d2056fc0456f5c1e80e989b6
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.
src/backend/utils/error/elog.c