mirror of
https://github.com/postgres/postgres.git
synced 2025-06-02 00:01:40 -04:00
Have log_temp_files be in kilobytes, remove trace call.
This commit is contained in:
parent
d64995aa89
commit
0764f41306
@ -1,4 +1,4 @@
|
|||||||
<!-- $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">
|
<chapter Id="runtime-config">
|
||||||
<title>Server Configuration</title>
|
<title>Server Configuration</title>
|
||||||
@ -2930,7 +2930,7 @@ SELECT * FROM parent WHERE key = 2400;
|
|||||||
Controls whether temporary files are logged when deleted.
|
Controls whether temporary files are logged when deleted.
|
||||||
A value of zero logs all temporary files, and positive
|
A value of zero logs all temporary files, and positive
|
||||||
values log only files whose size is equal or greater than
|
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
|
created for sorts, hashes, and temporary results. The
|
||||||
default is <literal>-1</> (off).
|
default is <literal>-1</> (off).
|
||||||
</para>
|
</para>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
* Written by Peter Eisentraut <peter_e@gmx.net>.
|
* Written by Peter Eisentraut <peter_e@gmx.net>.
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* 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,
|
{"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)."),
|
gettext_noop("Zero logs all files. The default is -1 (turning this feature off)."),
|
||||||
NULL
|
GUC_UNIT_KB
|
||||||
},
|
},
|
||||||
&log_temp_files,
|
&log_temp_files,
|
||||||
-1, -1, INT_MAX, NULL, NULL
|
-1, -1, INT_MAX, NULL, NULL
|
||||||
|
@ -334,7 +334,7 @@
|
|||||||
#log_hostname = off
|
#log_hostname = off
|
||||||
|
|
||||||
#log_temp_files = -1 # Log temporary files equal or larger
|
#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
|
# -1 disables; 0 logs all temp files
|
||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user