aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-07-17 15:05:44 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-07-17 15:05:44 -0400
commit9473bb96d0eb7ed73f1bf5269613e6266f64ad85 (patch)
treeb2ff4fa57ed570ff1caddfed70ad5ba03fc54e61 /src/tutorial
parent23e5b16c71f2706978c5f54aabd28ed23a54b6a5 (diff)
downloadpostgresql-9473bb96d0eb7ed73f1bf5269613e6266f64ad85.tar.gz
postgresql-9473bb96d0eb7ed73f1bf5269613e6266f64ad85.zip
Further thoughts about temp_file_limit patch.
Move FileClose's decrement of temporary_files_size up, so that it will be executed even if elog() throws an error. This is reasonable since if the unlink() fails, the fact the file is still there is not our fault, and we are going to forget about it anyhow. So we won't count it against temp_file_limit anymore. Update fileSize and temporary_files_size correctly in FileTruncate. We probably don't have any places that truncate temp files, but fd.c surely should not assume that.
Diffstat (limited to 'src/tutorial')
0 files changed, 0 insertions, 0 deletions