]> 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:41 +0000 (16:41 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 14 Oct 2005 16:41:41 +0000 (16:41 +0000)
commit0fa322a14eb09c8ca6c0fbbbc32d359ae9bc5197
treeb318149482ca2ea19a27865f0fa68cfabb8a7000
parent10f14e6e0dfbc5a82d3dc8be7f6be4a4f1bdd72d
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