Fix comments in sample comfiguration files to avoid error occurred in pgpooladmin.
authorBo Peng <pengbo@sraoss.co.jp>
Wed, 24 Mar 2021 15:25:50 +0000 (00:25 +0900)
committerBo Peng <pengbo@sraoss.co.jp>
Wed, 24 Mar 2021 15:29:14 +0000 (00:29 +0900)
src/sample/pgpool.conf.sample-logical
src/sample/pgpool.conf.sample-raw
src/sample/pgpool.conf.sample-replication
src/sample/pgpool.conf.sample-slony
src/sample/pgpool.conf.sample-snapshot
src/sample/pgpool.conf.sample-stream

index 32ceb04d179e2bae2666fa305b3606c930a9ef62..b0167cd8c4f8efd93cb4aa1b99974b0a18127676 100644 (file)
@@ -251,22 +251,26 @@ syslog_ident = 'pgpool'
                                         #   panic
 
 # This is used when logging to stderr:
-#logging_collector = off                # Enable capturing of stderr
+#logging_collector = off
+                                        # Enable capturing of stderr
                                         # into log files.
                                         # (change requires restart)
 
 # -- Only used if logging_collector is on ---
 
-#log_directory = '/tmp/pgpool_log'      # directory where log files are written,
+#log_directory = '/tmp/pgpool_log'
+                                        # directory where log files are written,
                                         # can be absolute
 #log_filename = 'pgpool-%Y-%m-%d_%H%M%S.log'
                                         # log file name pattern,
                                         # can include strftime() escapes
 
-#log_file_mode = 0600                   # creation mode for log files,
+#log_file_mode = 0600
+                                        # creation mode for log files,
                                         # begin with 0 to use octal notation
 
-#log_truncate_on_rotation = off         # If on, an existing log file with the
+#log_truncate_on_rotation = off
+                                        # If on, an existing log file with the
                                         # same name as the new log file will be
                                         # truncated rather than appended to.
                                         # But such truncation only occurs on
@@ -275,10 +279,12 @@ syslog_ident = 'pgpool'
                                         # off, meaning append to existing files
                                         # in all cases.
 
-#log_rotation_age = 1d                # Automatic rotation of logfiles will
+#log_rotation_age = 1d
+                                        # Automatic rotation of logfiles will
                                         # happen after that (minutes)time.
                                         # 0 disables time based rotation.
-#log_rotation_size = 10MB               # Automatic rotation of logfiles will
+#log_rotation_size = 10MB
+                                        # Automatic rotation of logfiles will
                                         # happen after that much (KB) log output.
                                         # 0 disables size based rotation.
 
@@ -367,10 +373,10 @@ write_function_list = ''
                                    # Comma separated list of function names
                                    # that write to database
                                    # Regexp are accepted
-                                  # If both read_only_function_list and write_function_list
-                                  # is empty, function's volatile property is checked.
-                                  # If it's volatile, the function is regarded as a
-                                  # writing function.
+                                   # If both read_only_function_list and write_function_list
+                                   # is empty, function's volatile property is checked.
+                                   # If it's volatile, the function is regarded as a
+                                   # writing function.
 
 primary_routing_query_pattern_list = ''
                                    # Semicolon separated list of query patterns
@@ -695,7 +701,8 @@ enable_consensus_with_half_votes = off
 
 # -- common --
 
-wd_monitoring_interfaces_list = ''  # Comma separated list of interfaces names to monitor.
+wd_monitoring_interfaces_list = ''
+                                    # Comma separated list of interfaces names to monitor.
                                     # if any interface from the list is active the watchdog will
                                     # consider the network is fine
                                     # 'any' to enable monitoring on all interfaces except loopback
index 312056e09ea8dea479355377f9b9df391d54e8e1..e351f99983a7b9195609e67561872674837c697c 100644 (file)
@@ -252,22 +252,26 @@ syslog_ident = 'pgpool'
                                         #   panic
 
 # This is used when logging to stderr:
-#logging_collector = off                # Enable capturing of stderr
+#logging_collector = off
+                                        # Enable capturing of stderr
                                         # into log files.
                                         # (change requires restart)
 
 # -- Only used if logging_collector is on ---
 
-#log_directory = '/tmp/pgpool_log'      # directory where log files are written,
+#log_directory = '/tmp/pgpool_log'
+                                        # directory where log files are written,
                                         # can be absolute
 #log_filename = 'pgpool-%Y-%m-%d_%H%M%S.log'
                                         # log file name pattern,
                                         # can include strftime() escapes
 
-#log_file_mode = 0600                   # creation mode for log files,
+#log_file_mode = 0600
+                                        # creation mode for log files,
                                         # begin with 0 to use octal notation
 
-#log_truncate_on_rotation = off         # If on, an existing log file with the
+#log_truncate_on_rotation = off
+                                        # If on, an existing log file with the
                                         # same name as the new log file will be
                                         # truncated rather than appended to.
                                         # But such truncation only occurs on
@@ -276,10 +280,12 @@ syslog_ident = 'pgpool'
                                         # off, meaning append to existing files
                                         # in all cases.
 
-#log_rotation_age = 1d                  # Automatic rotation of logfiles will
+#log_rotation_age = 1d
+                                        # Automatic rotation of logfiles will
                                         # happen after that (minutes)time.
                                         # 0 disables time based rotation.
-#log_rotation_size = 10MB               # Automatic rotation of logfiles will
+#log_rotation_size = 10MB
+                                        # Automatic rotation of logfiles will
                                         # happen after that much (KB) log output.
                                         # 0 disables size based rotation.
 
@@ -368,10 +374,10 @@ write_function_list = ''
                                    # Comma separated list of function names
                                    # that write to database
                                    # Regexp are accepted
-                                  # If both read_only_function_list and write_function_list
-                                  # is empty, function's volatile property is checked.
-                                  # If it's volatile, the function is regarded as a
-                                  # writing function.
+                                   # If both read_only_function_list and write_function_list
+                                   # is empty, function's volatile property is checked.
+                                   # If it's volatile, the function is regarded as a
+                                   # writing function.
 
 primary_routing_query_pattern_list = ''
                                    # Semicolon separated list of query patterns
@@ -738,7 +744,8 @@ enable_consensus_with_half_votes = off
 
 # -- common --
 
-wd_monitoring_interfaces_list = ''  # Comma separated list of interfaces names to monitor.
+wd_monitoring_interfaces_list = ''
+                                    # Comma separated list of interfaces names to monitor.
                                     # if any interface from the list is active the watchdog will
                                     # consider the network is fine
                                     # 'any' to enable monitoring on all interfaces except loopback
index 4b49741046f818feb98f574ee6183a7667fcfbcd..23a57aec4c1007249d5ed75349e08648451947c6 100644 (file)
@@ -247,22 +247,26 @@ syslog_ident = 'pgpool'
                                         #   panic
 
 # This is used when logging to stderr:
-#logging_collector = off                # Enable capturing of stderr
+#logging_collector = off
+                                        # Enable capturing of stderr
                                         # into log files.
                                         # (change requires restart)
 
 # -- Only used if logging_collector is on ---
 
-#log_directory = '/tmp/pgpool_log'      # directory where log files are written,
+#log_directory = '/tmp/pgpool_log'
+                                        # directory where log files are written,
                                         # can be absolute
 #log_filename = 'pgpool-%Y-%m-%d_%H%M%S.log'
                                         # log file name pattern,
                                         # can include strftime() escapes
 
-#log_file_mode = 0600                   # creation mode for log files,
+#log_file_mode = 0600
+                                        # creation mode for log files,
                                         # begin with 0 to use octal notation
 
-#log_truncate_on_rotation = off         # If on, an existing log file with the
+#log_truncate_on_rotation = off
+                                        # If on, an existing log file with the
                                         # same name as the new log file will be
                                         # truncated rather than appended to.
                                         # But such truncation only occurs on
@@ -271,10 +275,12 @@ syslog_ident = 'pgpool'
                                         # off, meaning append to existing files
                                         # in all cases.
 
-#log_rotation_age = 1d                  # Automatic rotation of logfiles will
+#log_rotation_age = 1d
+                                        # Automatic rotation of logfiles will
                                         # happen after that (minutes)time.
                                         # 0 disables time based rotation.
-#log_rotation_size = 10MB               # Automatic rotation of logfiles will
+#log_rotation_size = 10MB
+                                        # Automatic rotation of logfiles will
                                         # happen after that much (KB) log output.
                                         # 0 disables size based rotation.
 
@@ -363,10 +369,10 @@ write_function_list = ''
                                    # Comma separated list of function names
                                    # that write to database
                                    # Regexp are accepted
-                                  # If both read_only_function_list and write_function_list
-                                  # is empty, function's volatile property is checked.
-                                  # If it's volatile, the function is regarded as a
-                                  # writing function.
+                                   # If both read_only_function_list and write_function_list
+                                   # is empty, function's volatile property is checked.
+                                   # If it's volatile, the function is regarded as a
+                                   # writing function.
 
 primary_routing_query_pattern_list = ''
                                    # Semicolon separated list of query patterns
@@ -738,7 +744,8 @@ enable_consensus_with_half_votes = off
 
 # -- common --
 
-wd_monitoring_interfaces_list = ''  # Comma separated list of interfaces names to monitor.
+wd_monitoring_interfaces_list = ''
+                                    # Comma separated list of interfaces names to monitor.
                                     # if any interface from the list is active the watchdog will
                                     # consider the network is fine
                                     # 'any' to enable monitoring on all interfaces except loopback
index c6be0d1caf70d01287472379416260437a65247a..674b8b4aeaa6619ca93bd20db990b42297283675 100644 (file)
@@ -248,22 +248,26 @@ syslog_ident = 'pgpool'
                                         #   panic
 
 # This is used when logging to stderr:
-#logging_collector = off                # Enable capturing of stderr
+#logging_collector = off
+                                        # Enable capturing of stderr
                                         # into log files.
                                         # (change requires restart)
 
 # -- Only used if logging_collector is on ---
 
-#log_directory = '/tmp/pgpool_log'      # directory where log files are written,
+#log_directory = '/tmp/pgpool_log'
+                                        # directory where log files are written,
                                         # can be absolute
 #log_filename = 'pgpool-%Y-%m-%d_%H%M%S.log'
                                         # log file name pattern,
                                         # can include strftime() escapes
 
-#log_file_mode = 0600                   # creation mode for log files,
+#log_file_mode = 0600
+                                        # creation mode for log files,
                                         # begin with 0 to use octal notation
 
-#log_truncate_on_rotation = off         # If on, an existing log file with the
+#log_truncate_on_rotation = off
+                                        # If on, an existing log file with the
                                         # same name as the new log file will be
                                         # truncated rather than appended to.
                                         # But such truncation only occurs on
@@ -272,10 +276,12 @@ syslog_ident = 'pgpool'
                                         # off, meaning append to existing files
                                         # in all cases.
 
-#log_rotation_age = 1d                  # Automatic rotation of logfiles will
+#log_rotation_age = 1d
+                                        # Automatic rotation of logfiles will
                                         # happen after that (minutes)time.
                                         # 0 disables time based rotation.
-#log_rotation_size = 10MB               # Automatic rotation of logfiles will
+#log_rotation_size = 10MB
+                                        # Automatic rotation of logfiles will
                                         # happen after that much (KB) log output.
                                         # 0 disables size based rotation.
 
@@ -364,10 +370,10 @@ write_function_list = ''
                                    # Comma separated list of function names
                                    # that write to database
                                    # Regexp are accepted
-                                  # If both read_only_function_list and write_function_list
-                                  # is empty, function's volatile property is checked.
-                                  # If it's volatile, the function is regarded as a
-                                  # writing function.
+                                   # If both read_only_function_list and write_function_list
+                                   # is empty, function's volatile property is checked.
+                                   # If it's volatile, the function is regarded as a
+                                   # writing function.
 
 primary_routing_query_pattern_list = ''
                                    # Semicolon separated list of query patterns
@@ -737,7 +743,8 @@ enable_consensus_with_half_votes = off
 
 # -- common --
 
-wd_monitoring_interfaces_list = ''  # Comma separated list of interfaces names to monitor.
+wd_monitoring_interfaces_list = ''
+                                    # Comma separated list of interfaces names to monitor.
                                     # if any interface from the list is active the watchdog will
                                     # consider the network is fine
                                     # 'any' to enable monitoring on all interfaces except loopback
index 92aef71788899f52019455c3f52a3ad115dade33..c7d10191dfa2c4b099ec57995490c65234721061 100644 (file)
@@ -245,22 +245,26 @@ syslog_ident = 'pgpool'
                                         #   panic
 
 # This is used when logging to stderr:
-#logging_collector = off                # Enable capturing of stderr
+#logging_collector = off
+                                        # Enable capturing of stderr
                                         # into log files.
                                         # (change requires restart)
 
 # -- Only used if logging_collector is on ---
 
-#log_directory = '/tmp/pgpool_log'      # directory where log files are written,
+#log_directory = '/tmp/pgpool_log'
+                                        # directory where log files are written,
                                         # can be absolute
 #log_filename = 'pgpool-%Y-%m-%d_%H%M%S.log'
                                         # log file name pattern,
                                         # can include strftime() escapes
 
-#log_file_mode = 0600                   # creation mode for log files,
+#log_file_mode = 0600
+                                        # creation mode for log files,
                                         # begin with 0 to use octal notation
 
-#log_truncate_on_rotation = off         # If on, an existing log file with the
+#log_truncate_on_rotation = off
+                                        # If on, an existing log file with the
                                         # same name as the new log file will be
                                         # truncated rather than appended to.
                                         # But such truncation only occurs on
@@ -269,10 +273,12 @@ syslog_ident = 'pgpool'
                                         # off, meaning append to existing files
                                         # in all cases.
 
-#log_rotation_age = 1d                  # Automatic rotation of logfiles will
+#log_rotation_age = 1d
+                                        # Automatic rotation of logfiles will
                                         # happen after that (minutes)time.
                                         # 0 disables time based rotation.
-#log_rotation_size = 10MB               # Automatic rotation of logfiles will
+#log_rotation_size = 10MB
+                                        # Automatic rotation of logfiles will
                                         # happen after that much (KB) log output.
                                         # 0 disables size based rotation.
 
@@ -361,10 +367,10 @@ write_function_list = ''
                                    # Comma separated list of function names
                                    # that write to database
                                    # Regexp are accepted
-                                  # If both read_only_function_list and write_function_list
-                                  # is empty, function's volatile property is checked.
-                                  # If it's volatile, the function is regarded as a
-                                  # writing function.
+                                   # If both read_only_function_list and write_function_list
+                                   # is empty, function's volatile property is checked.
+                                   # If it's volatile, the function is regarded as a
+                                   # writing function.
 
 primary_routing_query_pattern_list = ''
                                    # Semicolon separated list of query patterns
@@ -736,7 +742,8 @@ enable_consensus_with_half_votes = off
 
 # -- common --
 
-wd_monitoring_interfaces_list = ''  # Comma separated list of interfaces names to monitor.
+wd_monitoring_interfaces_list = ''
+                                    # Comma separated list of interfaces names to monitor.
                                     # if any interface from the list is active the watchdog will
                                     # consider the network is fine
                                     # 'any' to enable monitoring on all interfaces except loopback
index 281d8cdf1074536ce8adc657a114c97bf2a9ecd3..ed350ea114bba82c20e5d9a101120eb04c5be3a2 100644 (file)
@@ -252,22 +252,26 @@ syslog_ident = 'pgpool'
                                         #   panic
 
 # This is used when logging to stderr:
-#logging_collector = off                # Enable capturing of stderr
+#logging_collector = off
+                                        # Enable capturing of stderr
                                         # into log files.
                                         # (change requires restart)
 
 # -- Only used if logging_collector is on ---
 
-#log_directory = '/tmp/pgpool_log'      # directory where log files are written,
+#log_directory = '/tmp/pgpool_log'
+                                        # directory where log files are written,
                                         # can be absolute
 #log_filename = 'pgpool-%Y-%m-%d_%H%M%S.log'
                                         # log file name pattern,
                                         # can include strftime() escapes
 
-#log_file_mode = 0600                   # creation mode for log files,
+#log_file_mode = 0600
+                                        # creation mode for log files,
                                         # begin with 0 to use octal notation
 
-#log_truncate_on_rotation = off         # If on, an existing log file with the
+#log_truncate_on_rotation = off
+                                        # If on, an existing log file with the
                                         # same name as the new log file will be
                                         # truncated rather than appended to.
                                         # But such truncation only occurs on
@@ -276,10 +280,12 @@ syslog_ident = 'pgpool'
                                         # off, meaning append to existing files
                                         # in all cases.
 
-#log_rotation_age = 1d                  # Automatic rotation of logfiles will
+#log_rotation_age = 1d
+                                        # Automatic rotation of logfiles will
                                         # happen after that (minutes)time.
                                         # 0 disables time based rotation.
-#log_rotation_size = 10MB               # Automatic rotation of logfiles will
+#log_rotation_size = 10MB
+                                        # Automatic rotation of logfiles will
                                         # happen after that much (KB) log output.
                                         # 0 disables size based rotation.
 #------------------------------------------------------------------------------
@@ -367,10 +373,10 @@ write_function_list = ''
                                    # Comma separated list of function names
                                    # that write to database
                                    # Regexp are accepted
-                                  # If both read_only_function_list and write_function_list
-                                  # is empty, function's volatile property is checked.
-                                  # If it's volatile, the function is regarded as a
-                                  # writing function.
+                                   # If both read_only_function_list and write_function_list
+                                   # is empty, function's volatile property is checked.
+                                   # If it's volatile, the function is regarded as a
+                                   # writing function.
 
 primary_routing_query_pattern_list = ''
                                    # Semicolon separated list of query patterns
@@ -738,7 +744,8 @@ enable_consensus_with_half_votes = off
 
 # -- common --
 
-wd_monitoring_interfaces_list = ''  # Comma separated list of interfaces names to monitor.
+wd_monitoring_interfaces_list = ''
+                                    # Comma separated list of interfaces names to monitor.
                                     # if any interface from the list is active the watchdog will
                                     # consider the network is fine
                                     # 'any' to enable monitoring on all interfaces except loopback