aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistxlog.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-11-19 02:45:40 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-11-19 02:45:40 +0000
commit2951f8f94e8ff25e377169fad307e491b4cc0908 (patch)
treea9a4dbbe10f315d63122078c9c3ed5628c8b5c32 /src/backend/access/gist/gistxlog.c
parent1ec65488c08e7b8681b37e42eb056ea3e8cef382 (diff)
downloadpostgresql-2951f8f94e8ff25e377169fad307e491b4cc0908.tar.gz
postgresql-2951f8f94e8ff25e377169fad307e491b4cc0908.zip
Fix memory leak in syslogger: logfile_rotate() would leak a copy of the
output filename if CSV logging was enabled and only one of the two possible output files got rotated during a particular call (which would, in fact, typically be the case during a size-based rotation). This would amount to about MAXPGPATH (1KB) per rotation, and it's been there since the CSV code was put in, so it's surprising that nobody noticed it before. Per bug #5196 from Thomas Poindessous.
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions