Fix two different copy-and-paste-os in CSV log rotation logic; one that led to
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/postmaster/syslogger.c | modified | +16 −18 |