]> granicus.if.org Git - postgresql/commit
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:13 +0000 (16:41 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 14 Oct 2005 16:41:13 +0000 (16:41 +0000)
commit98658dd40432c3c12ace9e0fd16315b32bb478f5
tree52c213eeeb0be73fd21b9d8588a486c102811603
parent7df6dfdda70f6264e6d4122f5c9b71c9b2676edb
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