pgpool2.git / summary / log / commit / refs
commit 3b9382c43bbbdc5d2a68954ee4e217e53b1bc870
Author: Tatsuo Ishii <ishii@sraoss.co.jp>
Date: Wed Apr 17 22:52:56 2019 +0000
Fix black_function_list's broken default value.
I accidentally broke the entry of pgpool.conf.sample when
database_redirect_preference_list and
app_name_redirect_preference_list were introduced.
Also fix mistake of the entry of pgpool.conf.sample-replication as
well.
Issue reported by Sebastiaan Alexander Mannem.
src/sample/pgpool.conf.sample | 2 +-
src/sample/pgpool.conf.sample-replication | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/sample/pgpool.conf.sample b/src/sample/pgpool.conf.sample
index e578d765f..50fe37236 100644
--- a/src/sample/pgpool.conf.sample
+++ b/src/sample/pgpool.conf.sample
@@ -309,7 +309,7 @@ white_function_list = ''
# Comma separated list of function names
# that don't write to database
# Regexp are accepted
-black_function_list = 'nextval,setval,nextval,setval'
+black_function_list = 'currval,lastval,nextval,setval'
# Comma separated list of function names
# that write to database
# Regexp are accepted
diff --git a/src/sample/pgpool.conf.sample-replication b/src/sample/pgpool.conf.sample-replication
index d81c547a6..5af975c36 100644
--- a/src/sample/pgpool.conf.sample-replication
+++ b/src/sample/pgpool.conf.sample-replication
@@ -307,7 +307,7 @@ white_function_list = ''
# Comma separated list of function names
# that don't write to database
# Regexp are accepted
-black_function_list = 'nextval,setval'
+black_function_list = 'currval,lastval,nextval,setval'
# Comma separated list of function names
# that write to database
# Regexp are accepted
[parent: 062c2de1f916]