File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 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 $ -->
22
33<chapter Id="runtime-config">
44 <title>Server Configuration</title>
@@ -3607,7 +3607,7 @@ FROM pg_stat_activity;
36073607 A log entry is made for each temporary file when it is deleted.
36083608 A value of zero logs all temporary file information, while positive
36093609 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
36113611 default setting is <literal>-1</>, which disables such logging.
36123612 Only superusers can change this setting.
36133613 </para>
Original file line number Diff line number Diff line change 77 * Portions Copyright (c) 1994, Regents of the University of California
88 *
99 * 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 $
1111 *
1212 * NOTES:
1313 *
@@ -1062,7 +1062,7 @@ FileClose(File file)
10621062 {
10631063 if (stat (vfdP -> fileName , & filestats ) == 0 )
10641064 {
1065- if (filestats .st_size >= log_temp_files )
1065+ if (( filestats .st_size / 1024 ) >= log_temp_files )
10661066 ereport (LOG ,
10671067 (errmsg ("temporary file: path \"%s\", size %lu" ,
10681068 vfdP -> fileName ,
Original file line number Diff line number Diff line change 1010 * Written by Peter Eisentraut <peter_e@gmx.net>.
1111 *
1212 * 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 $
1414 *
1515 *--------------------------------------------------------------------
1616 */
@@ -2061,7 +2061,7 @@ static struct config_int ConfigureNamesInt[] =
20612061
20622062 {
20632063 {"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 ." ),
20652065 gettext_noop ("Zero logs all files. The default is -1 (turning this feature off)." ),
20662066 GUC_UNIT_KB
20672067 },
You can’t perform that action at this time.
0 commit comments