pgpool2.git / summary / log / commit / refs

commit    350c8b13e43a3e420fd68588357bfaf89e571f31
Author:   Tatsuo Ishii <ishii at sraoss.co.jp>
Date:     Sun Dec 21 12:57:20 2008 +0000

    Change insert_lock's default value to true. Since automatic SERIAL
    data type is implemented, always making insert_lock to true is
    harmless.


pgpool.conf.sample | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pgpool.conf.sample b/pgpool.conf.sample index 5e2d3fcee..e44992de9 100644 --- a/pgpool.conf.sample +++ b/pgpool.conf.sample @@ -114,10 +114,11 @@ failover_command = '' # failback_command = '' -# If true, automatically lock table with INSERT statements to keep SERIAL -# data consistency. An /*INSERT LOCK*/ comment has the same effect. A -# /NO INSERT LOCK*/ comment disables the effect. -insert_lock = false +# If true, automatically locks a table with INSERT statements to keep +# SERIAL data consistency. If the data does not have SERIAL data +# type, no lock will be issued. An /*INSERT LOCK*/ comment has the +# same effect. A /NO INSERT LOCK*/ comment disables the effect. +insert_lock = true # If true, ignore leading white spaces of each query while pgpool judges # whether the query is a SELECT so that it can be load balanced. This [parent: 324f0834c7c1]