pgpool2.git / summary / log / commit / refs
commit dc68fa83d8245da876e98e297203ece379a8dae2
Author: Yoshiyuki Asaba <y-asaba at pgfoundry.org>
Date: Wed Oct 03 04:17:55 2007 +0000
The default value of ignore_leading_white_space is true in pgpool-II
2.x.
pgpool.conf.sample | 2 +-
pool_config.c | 2 +-
pool_config.l | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/pgpool.conf.sample b/pgpool.conf.sample
index 1ae5e1d6c..1c0bf0c3b 100644
--- a/pgpool.conf.sample
+++ b/pgpool.conf.sample
@@ -120,7 +120,7 @@ insert_lock = false
# whether the query is a SELECT so that it can be load balanced. This
# is useful for certain APIs such as DBI/DBD which is known to adding an
# extra leading white space.
-ignore_leading_white_space = false
+ignore_leading_white_space = true
# If true, print all statements to the log. Like the log_statement option
# to PostgreSQL, this allows for observing queries without engaging in full
diff --git a/pool_config.c b/pool_config.c
index cfd055965..428d3f6fc 100644
--- a/pool_config.c
+++ b/pool_config.c
@@ -1843,7 +1843,7 @@ int pool_init_config(void)
pool_config->health_check_user = "nobody";
pool_config->failover_command = "";
pool_config->insert_lock = 0;
- pool_config->ignore_leading_white_space = 0;
+ pool_config->ignore_leading_white_space = 1;
pool_config->parallel_mode = 0;
pool_config->enable_query_cache = 0;
pool_config->system_db_hostname = "localhost";
diff --git a/pool_config.l b/pool_config.l
index 0556da934..b4a8ad164 100644
--- a/pool_config.l
+++ b/pool_config.l
@@ -155,7 +155,7 @@ int pool_init_config(void)
pool_config->health_check_user = "nobody";
pool_config->failover_command = "";
pool_config->insert_lock = 0;
- pool_config->ignore_leading_white_space = 0;
+ pool_config->ignore_leading_white_space = 1;
pool_config->parallel_mode = 0;
pool_config->enable_query_cache = 0;
pool_config->system_db_hostname = "localhost";
[parent: 15cdd38bd3cc]