]> granicus.if.org Git - postgresql/commitdiff
Add pg_settings units display for "commit_delay" (ms).
authorBruce Momjian <bruce@momjian.us>
Tue, 14 Aug 2012 20:16:45 +0000 (16:16 -0400)
committerBruce Momjian <bruce@momjian.us>
Tue, 14 Aug 2012 20:16:45 +0000 (16:16 -0400)
Also remove unnecessary units designation in postgresql.conf.sample.

src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample

index 80e5aa1816f272d526543c9c6267e5353cc6f401..a1d303b75aca9b46512800f22a465dda974238d8 100644 (file)
@@ -2033,7 +2033,8 @@ static struct config_int ConfigureNamesInt[] =
                {"commit_delay", PGC_USERSET, WAL_SETTINGS,
                        gettext_noop("Sets the delay in microseconds between transaction commit and "
                                                 "flushing WAL to disk."),
-                       NULL
+                       NULL,
+                       GUC_UNIT_MS
                },
                &CommitDelay,
                0, 0, 100000,
index c24afb043436e46fe0d959ec048aa8b0c7784f0e..adcbcf6620578440105ec7fb6c30909a649afd11 100644 (file)
 
 # - Cost-Based Vacuum Delay -
 
-#vacuum_cost_delay = 0ms               # 0-100 milliseconds
+#vacuum_cost_delay = 0                 # 0-100 milliseconds
 #vacuum_cost_page_hit = 1              # 0-10000 credits
 #vacuum_cost_page_miss = 10            # 0-10000 credits
 #vacuum_cost_page_dirty = 20           # 0-10000 credits