Add temp_file_limit GUC parameter to constrain temporary file space usage.
The limit is enforced against the total amount of temp file space used by
each session.
Mark Kirkwood, reviewed by Cédric Villemain and Tatsuo Ishii
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/23e5b16c71f2706978c5f54aabd28ed23a54b6a5
Modified Files
--------------
doc/src/sgml/config.sgml | 33 +++++++++++-
src/backend/storage/file/fd.c | 69 ++++++++++++++++++++++---
src/backend/utils/errcodes.txt | 11 ++--
src/backend/utils/misc/guc.c | 15 +++++
src/backend/utils/misc/postgresql.conf.sample | 5 ++
src/include/utils/guc.h | 2 +
src/include/utils/guc_tables.h | 1 +
7 files changed, 122 insertions(+), 14 deletions(-)
Responses
pgsql-hackers by date
| Next: | From: Tom Lane | Date: 2011-07-17 18:25:03 |
| Subject: Re: Re: patch review : Add ability to constrain backend temporary file space |
| Previous: | From: Jim Nasby | Date: 2011-07-17 17:20:25 |
| Subject: Re: [COMMITTERS] pgsql: Enable CHECK constraints to be declared NOT VALID |
pgsql-committers by date
| Next: | From: Tom Lane | Date: 2011-07-17 19:05:54 |
| Subject: pgsql: Further thoughts about temp_file_limit patch. |
| Previous: | From: Jim Nasby | Date: 2011-07-17 17:20:25 |
| Subject: Re: [COMMITTERS] pgsql: Enable CHECK constraints to be declared NOT VALID |