Fix two different copy-and-paste-os in CSV log rotation logic; one that led to

Tom Lane <tgl@sss.pgh.pa.us>

Commit: ace1b29b047ffa9474275078065ca697f0d69852
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-01-25T20:42:10Z
Releases: 8.3.0
Fix two different copy-and-paste-os in CSV log rotation logic; one that led to
a double-pfree crash and another that effectively disabled size-based rotation
for CSV logs.  Also suppress a memory leak and make some trivial cosmetic
improvements.  Per bug #3901 from Chris Hoover and additional code-reading.

Files

PathChange+/−
src/backend/postmaster/syslogger.c modified +16 −18