Document which GUC settings are enums and not strings, along with a short
authorMagnus Hagander
Fri, 21 Nov 2008 19:42:12 +0000 (19:42 +0000)
committerMagnus Hagander
Fri, 21 Nov 2008 19:42:12 +0000 (19:42 +0000)
paragraph about what that means.

doc/src/sgml/config.sgml

index dcb7c51b25ae6eb570f19cc0a8f1ce3c962a6984..e492a1fc2f5dab8d4e1a865ac8fc70c8b6e6fc06 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
   Server Configuration
@@ -20,8 +20,8 @@
 
    
     All parameter names are case-insensitive. Every parameter takes a
-    value of one of four types: Boolean, integer, floating point,
-    or string. Boolean values can be written as ON,
+    value of one of five types: Boolean, integer, floating point,
+    string or enum. Boolean values can be written as ON,
     OFFTRUE,
     FALSEYES,
     NO10
     for memory units is 1024, not 1000.
    
 
+   
+    Settings of type 'enum' are specified the same way at string settings,
+    but are restricted to a limited range of values. To find available
+    values, look at pg_settings.enumvals. Enum settings are
+    case insensitive.
+   
+
    
     One way to set these parameters is to edit the file
     postgresql.confpostgresql.conf,
@@ -1329,7 +1336,7 @@ SET ENABLE_SEQSCAN TO OFF;
      
      
      
-      wal_sync_method (string)
+      wal_sync_method (enum)
       
        wal_sync_method configuration parameter
       
@@ -2464,7 +2471,7 @@ local0.*    /var/log/postgresql
      
 
      
-      syslog_facility (string)
+      syslog_facility (enum)
       
        syslog_facility configuration parameter
       
@@ -2511,7 +2518,7 @@ local0.*    /var/log/postgresql
      
 
      
-      client_min_messages (string)
+      client_min_messages (enum)
       
        client_min_messages configuration parameter
       
@@ -2532,7 +2539,7 @@ local0.*    /var/log/postgresql
      
 
      
-      log_min_messages (string)
+      log_min_messages (enum)
       
        log_min_messages configuration parameter
       
@@ -2554,7 +2561,7 @@ local0.*    /var/log/postgresql
      
 
      
-      log_error_verbosity (string)
+      log_error_verbosity (enum)
       
        log_error_verbosity configuration parameter
       
@@ -2570,7 +2577,7 @@ local0.*    /var/log/postgresql
      
 
      
-      log_min_error_statement (string)
+      log_min_error_statement (enum)
       
        log_min_error_statement configuration parameter
       
@@ -3056,7 +3063,7 @@ local0.*    /var/log/postgresql
      
 
      
-      log_statement (string)
+      log_statement (enum)
       
        log_statement configuration parameter
       
@@ -3314,7 +3321,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
      
 
      
-      track_functions (string)
+      track_functions (enum)
       
        track_functions configuration parameter
       
@@ -3828,7 +3835,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
       
        default_transaction_isolation configuration parameter
       
-      default_transaction_isolation (string)
+      default_transaction_isolation (enum)
       
        
         Each SQL transaction has an isolation level, which can be
@@ -3871,7 +3878,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
      
 
      
-      session_replication_role (string)
+      session_replication_role (enum)
       
        session_replication_role configuration parameter
       
@@ -3933,7 +3940,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
      
 
      
-      xmlbinary (string)
+      xmlbinary (enum)
       
        xmlbinary configuration parameter
       
@@ -3960,7 +3967,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
      
 
      
-      xmloption (string)
+      xmloption (enum)
       
        xmloption configuration parameter
       
@@ -4026,7 +4033,7 @@ SET XML OPTION { DOCUMENT | CONTENT };
      
 
      
-      IntervalStyle (string)
+      IntervalStyle (enum)
       
        IntervalStyle configuration parameter
       
@@ -4514,7 +4521,7 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
      
 
      
-      backslash_quote (string)
+      backslash_quote (enum)
       stringsbackslash quotes
       
        backslash_quote configuration parameter
@@ -4602,7 +4609,7 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
      
 
      
-      regex_flavor (string)
+      regex_flavor (enum)
       regular expressions
       
        regex_flavor configuration parameter