-<!-- $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>
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>
* 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 $
*
*--------------------------------------------------------------------
*/
{
{"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
#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
#---------------------------------------------------------------------------