Skip to content

Commit 0764f41

Browse files
committed
Have log_temp_files be in kilobytes, remove trace call.
1 parent d64995a commit 0764f41

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

doc/src/sgml/config.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.100 2007/01/09 21:31:14 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.101 2007/01/09 22:16:46 momjian Exp $ -->
22

33
<chapter Id="runtime-config">
44
<title>Server Configuration</title>
@@ -2930,7 +2930,7 @@ SELECT * FROM parent WHERE key = 2400;
29302930
Controls whether temporary files are logged when deleted.
29312931
A value of zero logs all temporary files, and positive
29322932
values log only files whose size is equal or greater than
2933-
the specified number of bytes. Temporary files can be
2933+
the specified number of kilobytes. Temporary files can be
29342934
created for sorts, hashes, and temporary results. The
29352935
default is <literal>-1</> (off).
29362936
</para>

src/backend/utils/misc/guc.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Written by Peter Eisentraut <peter_e@gmx.net>.
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.366 2007/01/09 21:31:14 momjian Exp $
13+
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.367 2007/01/09 22:16:46 momjian Exp $
1414
*
1515
*--------------------------------------------------------------------
1616
*/
@@ -1664,9 +1664,9 @@ static struct config_int ConfigureNamesInt[] =
16641664

16651665
{
16661666
{"log_temp_files", PGC_USERSET, LOGGING_WHAT,
1667-
gettext_noop("Log the use of temporary files larger than this size."),
1667+
gettext_noop("Log the use of temporary files larger than this number of kilobytes."),
16681668
gettext_noop("Zero logs all files. The default is -1 (turning this feature off)."),
1669-
NULL
1669+
GUC_UNIT_KB
16701670
},
16711671
&log_temp_files,
16721672
-1, -1, INT_MAX, NULL, NULL

src/backend/utils/misc/postgresql.conf.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@
334334
#log_hostname = off
335335

336336
#log_temp_files = -1 # Log temporary files equal or larger
337-
# than the specified number of bytes.
337+
# than the specified number of kilobytes.
338338
# -1 disables; 0 logs all temp files
339339

340340
#---------------------------------------------------------------------------

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy