Skip site navigation (1) Skip section navigation (2)

pgsql: Add temp_file_limit GUC parameter to constrain temporary filesp

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add temp_file_limit GUC parameter to constrain temporary filesp
Date: 2011-07-17 18:19:51
Message-ID: E1QiVwV-0001aa-41@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackers
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 LaneDate: 2011-07-17 18:25:03
Subject: Re: Re: patch review : Add ability to constrain backend temporary file space
Previous:From: Jim NasbyDate: 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 LaneDate: 2011-07-17 19:05:54
Subject: pgsql: Further thoughts about temp_file_limit patch.
Previous:From: Jim NasbyDate: 2011-07-17 17:20:25
Subject: Re: [COMMITTERS] pgsql: Enable CHECK constraints to be declared NOT VALID

Privacy Policy | About PostgreSQL
Copyright © 1996-2013 The PostgreSQL Global Development Group