summaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeFunctionscan.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-11-19 02:45:50 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-11-19 02:45:50 +0000
commit31f38e3f0e560a075606107cdb5fe8c0db5c7c60 (patch)
tree09a1a3cbe5d1599b6bb9294782798faa86cd37ae /src/backend/executor/nodeFunctionscan.c
parent87021e7505256cbcf150b3ba8ad66fe36d4d664b (diff)
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/executor/nodeFunctionscan.c')
0 files changed, 0 insertions, 0 deletions