Обсуждение: pgsql: Fix two different copy-and-paste-os in CSV log rotation logic;

Поиск
Список
Период
Сортировка

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

От
tgl@postgresql.org (Tom Lane)
Дата:
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)