pgsql: Add temp_file_limit GUC parameter to constrain temporary file sp - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Add temp_file_limit GUC parameter to constrain temporary file sp
Date
Msg-id E1QiVwV-0001aa-41@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Improve make_subplanTargetList to avoid including Vars unnecessa
Next
From: Tom Lane
Date:
Subject: pgsql: Further thoughts about temp_file_limit patch.