read-only GUC variables - supporting doc changes

Поиск
Список
Период
Сортировка
Искать

read-only GUC variables - supporting doc changes

От:
Joe Conway <mail@joeconway.com>
Дата:
The attached is the supporting documentation for the read-only GUC 
variable changes. Comments?

Thanks,

Joe
Index: doc/src/sgml/catalogs.sgml
===================================================================
RCS file: /opt/src/cvs/pgsql-server/doc/src/sgml/catalogs.sgml,v
retrieving revision 2.80
diff -c -r2.80 catalogs.sgml
*** doc/src/sgml/catalogs.sgml	29 Nov 2003 19:51:36 -0000	2.80
--- doc/src/sgml/catalogs.sgml	6 Dec 2003 02:11:37 -0000
***************
*** 4051,4056 ****
--- 4051,4074 ----
        current value of the parameter
       
       
+       category
+       text
+       
+       logical group of the parameter
+      
+      
+       short_desc
+       text
+       
+       a brief description of the parameter
+      
+      
+       extra_desc
+       text
+       
+       additional, more detailed, information about the parameter
+      
+      
        context
        text
        
Index: doc/src/sgml/runtime.sgml
===================================================================
RCS file: /opt/src/cvs/pgsql-server/doc/src/sgml/runtime.sgml,v
retrieving revision 1.224
diff -c -r1.224 runtime.sgml
*** doc/src/sgml/runtime.sgml	1 Dec 2003 22:07:56 -0000	1.224
--- doc/src/sgml/runtime.sgml	6 Dec 2003 03:40:15 -0000
***************
*** 2517,2522 ****
--- 2517,2603 ----
      
     
  
+    
+     Compiled-in Options
+ 
+     
+      The following options are available read-only, and are determined
+      at source code compile time.  As such, they have been excluded from the
+      sample postgresql.conf</> file.  They determine various aspects
+      of PostgreSQL behavior that may be of interest
+      to certain applications, particularly administrative front-ends.
+     
+ 
+     
+ 
+      
+       block_size (integer)
+       
+        
+         Shows the size of a disk block.  It is determined by the value
+         of BLCKSZ</> when building the server. The default
+         value is 8192 bytes.  Each data file (heap or index) is divided
+         into disk blocks which may be thought of as the unit of I/O.
+         A PostgreSQL buffer contains exactly
+         one disk block.  A PostgreSQL disk page
+         is an abstraction layered on top of a disk block.  Specifically,
+         while a disk block can be unformatted, a disk page is always a
+         formatted page.  The shared_buffers setting is
+         influenced by block_size.  See
+          for information.
+        
+       
+      
+ 
+      
+       integer_datetimes (boolean)
+       
+        
+         Shows on if PostgreSQL
+         was built with support for 64-bit integer dates and times.  It is
+         set by configuring with --enable-integer-datetimes.
+         The default value is off.
+        
+       
+      
+ 
+      
+       max_function_args (integer)
+       
+        
+         Shows the maximum number of function arguments. It is determined by
+         the value of FUNC_MAX_ARGS</> when building the server. The
+         default value is 32.
+        
+       
+      
+ 
+      
+       max_identifier_length (integer)
+       
+        
+         Shows the maximum identifier length. It is determined as one less than
+         the value of NAMEDATALEN</> when building the server. The
+         default value of NAMEDATALEN is 64; therefore the default
+         max_identifier_length is 63.
+        
+       
+      
+ 
+      
+       max_index_keys (integer)
+       
+        
+         Shows the maximum number of index keys. It is determined by
+         the value of INDEX_MAX_KEYS</> when building the server. The
+         default value is 32.
+        
+       
+      
+ 
+     
+    
+ 
     
      Developer Options
  

Re: read-only GUC variables - supporting doc changes

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Joe Conway  writes:
> The attached is the supporting documentation for the read-only GUC 
> variable changes. Comments?

Most of this paragraph strikes me as noise:

> +         Shows the size of a disk block.  It is determined by the value
> +         of BLCKSZ</> when building the server. The default
> +         value is 8192 bytes.  Each data file (heap or index) is divided
> +         into disk blocks which may be thought of as the unit of I/O.
> +         A PostgreSQL buffer contains exactly
> +         one disk block.  A PostgreSQL disk page
> +         is an abstraction layered on top of a disk block.  Specifically,
> +         while a disk block can be unformatted, a disk page is always a
> +         formatted page.  The shared_buffers setting is
> +         influenced by block_size.  See
> +          for information.

I think you could drop the middle four sentences ("Each ... formatted page")
without losing much.

Otherwise it looks fine ...

			regards, tom lane
FAQ