pgpool2.git / summary / log / commit / refs
commit 4d9f8b98c65a72fbae46a04de6595e51dc6e11e1
Author: Tatsuo Ishii <ishii@sraoss.co.jp>
Date: Wed Apr 24 04:05:48 2019 +0000
Add backend_application_nameN.
src/sample/pgpool.conf.sample | 3 +++
src/sample/pgpool.conf.sample-logical | 3 +++
src/sample/pgpool.conf.sample-stream | 3 +++
3 files changed, 9 insertions(+)
diff --git a/src/sample/pgpool.conf.sample b/src/sample/pgpool.conf.sample
index 50fe37236..148d90062 100644
--- a/src/sample/pgpool.conf.sample
+++ b/src/sample/pgpool.conf.sample
@@ -77,11 +77,14 @@ backend_flag0 = 'ALLOW_TO_FAILOVER'
# Controls various backend behavior
# ALLOW_TO_FAILOVER, DISALLOW_TO_FAILOVER
# or ALWAYS_MASTER
+backend_application_name0 = 'server0'
+ # walsender's application_name, used for "show pool_nodes" command
#backend_hostname1 = 'host2'
#backend_port1 = 5433
#backend_weight1 = 1
#backend_data_directory1 = '/data1'
#backend_flag1 = 'ALLOW_TO_FAILOVER'
+#backend_application_name1 = 'server1'
# - Authentication -
diff --git a/src/sample/pgpool.conf.sample-logical b/src/sample/pgpool.conf.sample-logical
index afcda85b9..bdd55bfb9 100644
--- a/src/sample/pgpool.conf.sample-logical
+++ b/src/sample/pgpool.conf.sample-logical
@@ -78,11 +78,14 @@ backend_flag0 = 'ALLOW_TO_FAILOVER'
# Controls various backend behavior
# ALLOW_TO_FAILOVER, DISALLOW_TO_FAILOVER
# or ALWAYS_MASTER
+backend_application_name0 = 'server0'
+ # walsender's application_name, used for "show pool_nodes" command
#backend_hostname1 = 'host2'
#backend_port1 = 5433
#backend_weight1 = 1
#backend_data_directory1 = '/data1'
#backend_flag1 = 'ALLOW_TO_FAILOVER'
+#backend_application_name1 = 'server1'
# - Authentication -
diff --git a/src/sample/pgpool.conf.sample-stream b/src/sample/pgpool.conf.sample-stream
index e569aac9c..ab98a9879 100644
--- a/src/sample/pgpool.conf.sample-stream
+++ b/src/sample/pgpool.conf.sample-stream
@@ -78,11 +78,14 @@ backend_flag0 = 'ALLOW_TO_FAILOVER'
# Controls various backend behavior
# ALLOW_TO_FAILOVER, DISALLOW_TO_FAILOVER
# or ALWAYS_MASTER
+backend_application_name0 = 'server0'
+ # walsender's application_name, used for "show pool_nodes" command
#backend_hostname1 = 'host2'
#backend_port1 = 5433
#backend_weight1 = 1
#backend_data_directory1 = '/data1'
#backend_flag1 = 'ALLOW_TO_FAILOVER'
+#backend_application_name1 = 'server1'
# - Authentication -
[parent: 07db0fbb36b0]