From b517e653489f733893d61e7a84c118325394471c Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 27 Jul 2006 08:30:41 +0000 Subject: Allow units to be specified with configuration settings. --- doc/src/sgml/catalogs.sgml | 8 +++++++- doc/src/sgml/config.sgml | 17 ++++++++++++++++- 2 files changed, 23 insertions(+), 2 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml index cf5d3f3b855..dfb6348e1d6 100644 --- a/doc/src/sgml/catalogs.sgml +++ b/doc/src/sgml/catalogs.sgml @@ -1,4 +1,4 @@ - + @@ -5482,6 +5482,12 @@ current value of the parameter + + unit + text + + implicit unit of the parameter + category text diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 45350ac7ae9..0acdd275078 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -1,4 +1,4 @@ - + Server Configuration @@ -28,6 +28,20 @@ (all case-insensitive) or any unambiguous prefix of these. + + Some settings specify a memory or time value. Each of these has + an implicit unit, which is either kilobytes, blocks (typically 8 + kilobytes), milliseconds, seconds, or minutes. For convenience, a + (possibly different) unit can also be specified explicitly. Valid + memory units are kB (kilobytes), + MB (megabytes), and GB + (gigabytes); valid time units are ms + (milliseconds), s (seconds), + min (minutes), h (hours), + and d (days). Note that the multiplier for + memory units in 1024, not 1000. + + One way to set these parameters is to edit the file postgresql.confpostgresql.conf, @@ -39,6 +53,7 @@ log_connections = yes log_destination = 'syslog' search_path = '"$user", public' +shared_buffers = 128MB One parameter is specified per line. The equal sign between name and value is optional. Whitespace is insignificant and blank lines are -- cgit v1.2.3