mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
Fix log_temp_files docs and comments to say bytes not kilobytes.
stat(2) field st_size returns bytes not kilobytes. Bug found during recent performance tuning for PostgreSQL user.
This commit is contained in:
parent
fd3499be2f
commit
3bdd23932b
@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.282 2010/06/22 02:57:49 rhaas Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.283 2010/06/25 13:11:25 sriggs Exp $ -->
|
||||||
|
|
||||||
<chapter Id="runtime-config">
|
<chapter Id="runtime-config">
|
||||||
<title>Server Configuration</title>
|
<title>Server Configuration</title>
|
||||||
@ -3566,7 +3566,7 @@ FROM pg_stat_activity;
|
|||||||
A log entry is made for each temporary file when it is deleted.
|
A log entry is made for each temporary file when it is deleted.
|
||||||
A value of zero logs all temporary file information, while positive
|
A value of zero logs all temporary file information, while positive
|
||||||
values log only files whose size is greater than or equal to
|
values log only files whose size is greater than or equal to
|
||||||
the specified number of kilobytes. The
|
the specified number of bytes. The
|
||||||
default setting is <literal>-1</>, which disables such logging.
|
default setting is <literal>-1</>, which disables such logging.
|
||||||
Only superusers can change this setting.
|
Only superusers can change this setting.
|
||||||
</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.556 2010/06/17 17:44:40 tgl Exp $
|
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.557 2010/06/25 13:11:25 sriggs Exp $
|
||||||
*
|
*
|
||||||
*--------------------------------------------------------------------
|
*--------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -2051,7 +2051,7 @@ static struct config_int ConfigureNamesInt[] =
|
|||||||
|
|
||||||
{
|
{
|
||||||
{"log_temp_files", PGC_SUSET, LOGGING_WHAT,
|
{"log_temp_files", PGC_SUSET, LOGGING_WHAT,
|
||||||
gettext_noop("Log the use of temporary files larger than this number of kilobytes."),
|
gettext_noop("Log the use of temporary files larger than this number of bytes."),
|
||||||
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)."),
|
||||||
GUC_UNIT_KB
|
GUC_UNIT_KB
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user