File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- <!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.292 2010/07/06 21:14:25 rhaas Exp $ -->
1
+ <!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.293 2010/07/06 22:55:26 rhaas Exp $ -->
2
2
3
3
<chapter Id="runtime-config">
4
4
<title>Server Configuration</title>
@@ -3607,7 +3607,7 @@ FROM pg_stat_activity;
3607
3607
A log entry is made for each temporary file when it is deleted.
3608
3608
A value of zero logs all temporary file information, while positive
3609
3609
values log only files whose size is greater than or equal to
3610
- the specified number of bytes . The
3610
+ the specified number of kilobytes . The
3611
3611
default setting is <literal>-1</>, which disables such logging.
3612
3612
Only superusers can change this setting.
3613
3613
</para>
Original file line number Diff line number Diff line change 7
7
* Portions Copyright (c) 1994, Regents of the University of California
8
8
*
9
9
* IDENTIFICATION
10
- * $PostgreSQL: pgsql/src/backend/storage/file/fd.c,v 1.156 2010/02/26 02:00:59 momjian Exp $
10
+ * $PostgreSQL: pgsql/src/backend/storage/file/fd.c,v 1.157 2010/07/06 22:55:26 rhaas Exp $
11
11
*
12
12
* NOTES:
13
13
*
@@ -1062,7 +1062,7 @@ FileClose(File file)
1062
1062
{
1063
1063
if (stat (vfdP -> fileName , & filestats ) == 0 )
1064
1064
{
1065
- if (filestats .st_size >= log_temp_files )
1065
+ if (( filestats .st_size / 1024 ) >= log_temp_files )
1066
1066
ereport (LOG ,
1067
1067
(errmsg ("temporary file: path \"%s\", size %lu" ,
1068
1068
vfdP -> fileName ,
Original file line number Diff line number Diff line change 10
10
* Written by Peter Eisentraut <peter_e@gmx.net>.
11
11
*
12
12
* IDENTIFICATION
13
- * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.560 2010/07/06 19:18:58 momjian Exp $
13
+ * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.561 2010/07/06 22:55:26 rhaas Exp $
14
14
*
15
15
*--------------------------------------------------------------------
16
16
*/
@@ -2061,7 +2061,7 @@ static struct config_int ConfigureNamesInt[] =
2061
2061
2062
2062
{
2063
2063
{"log_temp_files" , PGC_SUSET , LOGGING_WHAT ,
2064
- gettext_noop ("Log the use of temporary files larger than this number of bytes ." ),
2064
+ gettext_noop ("Log the use of temporary files larger than this number of kilobytes ." ),
2065
2065
gettext_noop ("Zero logs all files. The default is -1 (turning this feature off)." ),
2066
2066
GUC_UNIT_KB
2067
2067
},
You can’t perform that action at this time.
0 commit comments