pgsql: Fix two different copy-and-paste-os in CSV log rotation logic;

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix two different copy-and-paste-os in CSV log rotation logic;
Date: 2008-01-25 20:42:10
Message-ID: 20080125204210.E7218754108@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/src/backend/postmaster:
syslogger.c (r1.43 -> r1.44)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/syslogger.c?r1=1.43&r2=1.44)

Browse pgsql-committers by date

  From Date Subject
Next Message User Dim 2008-01-25 21:19:05 prefix - prefix: 8.3 compat now ok, using VARDATA_ANY() and
Previous Message User Dim 2008-01-25 19:59:19 prefix - prefix: firsts attempts towards 8.3 compliance, using