git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fd3499b)
Fix log_temp_files docs and comments to say bytes not kilobytes.
2010年6月25日 13:11:25 +0000 (13:11 +0000)
2010年6月25日 13:11:25 +0000 (13:11 +0000)
stat(2) field st_size returns bytes not kilobytes.
Bug found during recent performance tuning for PostgreSQL user.


diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 298ccb60e1d0e4547ba6c1cd87be8a656d0fbbdc..174f98140026ec48ca4cd82e3a940aa9b72b3123 100644 (file)
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -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">
<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 value of zero logs all temporary file information, while positive
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.
Only superusers can change this setting.
</para>
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c
index 48280b460c2c7ed28e7635447e38f0338a268ef2..73305486569b0d050e33eb1c7caa37956d22a9ce 100644 (file)
--- a/src/backend/utils/misc/guc.c
+++ b/src/backend/utils/misc/guc.c
@@ -10,7 +10,7 @@
* Written by Peter Eisentraut <peter_e@gmx.net>.
*
* 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,
- 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)."),
GUC_UNIT_KB
},
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /