Thread: pgsql/src/bin/pg_dump pg_backup_custom.c

pgsql/src/bin/pg_dump pg_backup_custom.c

From
tgl@postgresql.org
Date:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    01/11/27 18:48:12

Modified files:
    src/bin/pg_dump: pg_backup_custom.c

Log message:
    Fix nasty memory leak in pg_restore: _PrintData called inflateInit but
    never did inflateEnd, thus leaking some tens of KB per call.  Which
    added up *real fast* when dealing with, say, thousands of BLOBs.
    Thanks to Lane Rollins for the bug report.