aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-11-19 02:45:33 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-11-19 02:45:33 +0000
commitb1d55dca917c8595eb89bae5a93c5f81c8b10f81 (patch)
tree1544d57c5daaa42689a10f0ec41e3e7c27b111d3 /src/backend/executor/nodeModifyTable.c
parentc742b795ddce852975c513a04c29966420937553 (diff)
downloadpostgresql-b1d55dca917c8595eb89bae5a93c5f81c8b10f81.tar.gz
postgresql-b1d55dca917c8595eb89bae5a93c5f81c8b10f81.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/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions