Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0764f41

Browse files
committed
Have log_temp_files be in kilobytes, remove trace call.
1 parentd64995a commit0764f41

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/0921:31:14 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.101 2007/01/0922: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 ofbytes. Temporary files can be
2933+
the specified number ofkilobytes. 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/0921:31:14 momjian Exp $
13+
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.367 2007/01/0922: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 thissize."),
1667+
gettext_noop("Log the use of temporary files larger than thisnumber 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 ofbytes.
337+
# than the specified number ofkilobytes.
338338
# -1 disables; 0 logs all temp files
339339

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp