Commit 0764f413 authored by Bruce Momjian's avatar Bruce Momjian

Have log_temp_files be in kilobytes, remove trace call.

parent d64995aa
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.100 2007/01/09 21:31:14 momjian Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.101 2007/01/09 22:16:46 momjian Exp $ -->
<chapter Id="runtime-config">
<title>Server Configuration</title>
......@@ -2930,7 +2930,7 @@ SELECT * FROM parent WHERE key = 2400;
Controls whether temporary files are logged when deleted.
A value of zero logs all temporary files, and positive
values log only files whose size is equal or greater than
the specified number of bytes. Temporary files can be
the specified number of kilobytes. Temporary files can be
created for sorts, hashes, and temporary results. The
default is <literal>-1</> (off).
</para>
......
......@@ -10,7 +10,7 @@
* Written by Peter Eisentraut <peter_e@gmx.net>.
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.366 2007/01/09 21:31:14 momjian Exp $
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.367 2007/01/09 22:16:46 momjian Exp $
*
*--------------------------------------------------------------------
*/
......@@ -1664,9 +1664,9 @@ static struct config_int ConfigureNamesInt[] =
{
{"log_temp_files", PGC_USERSET, LOGGING_WHAT,
gettext_noop("Log the use of temporary files larger than this size."),
gettext_noop("Log the use of temporary files larger than this number of kilobytes."),
gettext_noop("Zero logs all files. The default is -1 (turning this feature off)."),
NULL
GUC_UNIT_KB
},
&log_temp_files,
-1, -1, INT_MAX, NULL, NULL
......
......@@ -334,7 +334,7 @@
#log_hostname = off
#log_temp_files = -1 # Log temporary files equal or larger
# than the specified number of bytes.
# than the specified number of kilobytes.
# -1 disables; 0 logs all temp files
#---------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment