From 23e5b16c71f2706978c5f54aabd28ed23a54b6a5 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 17 Jul 2011 14:19:31 -0400 Subject: Add temp_file_limit GUC parameter to constrain temporary file space usage. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/backend/utils/misc/postgresql.conf.sample | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/backend/utils/misc/postgresql.conf.sample') diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample index 940329377a4..fa67e7a3d5c 100644 --- a/src/backend/utils/misc/postgresql.conf.sample +++ b/src/backend/utils/misc/postgresql.conf.sample @@ -119,6 +119,11 @@ #maintenance_work_mem = 16MB # min 1MB #max_stack_depth = 2MB # min 100kB +# - Disk - + +#temp_file_limit = -1 # limits per-session temp file space + # in kB, or -1 for no limit + # - Kernel Resource Usage - #max_files_per_process = 1000 # min 25 -- cgit v1.2.3