*** pgpool.conf.sample.old 2013-03-04 11:08:30.000000000 +0900 --- pgpool.conf.sample 2013-03-04 11:09:40.000000000 +0900 *************** *** 51,65 **** # - Backend Connection Settings - ! #backend_hostname0 = 'host1' # Host name or IP address to connect to for backend 0 ! #backend_port0 = 5432 # Port number for backend 0 ! #backend_weight0 = 1 # Weight for backend 0 (only in load balancing mode) ! #backend_data_directory0 = '/data' # Data directory for backend 0 ! #backend_flag0 = 'ALLOW_TO_FAILOVER' # Controls various backend behavior # ALLOW_TO_FAILOVER or DISALLOW_TO_FAILOVER #backend_hostname1 = 'host2' --- 51,65 ---- # - Backend Connection Settings - ! backend_hostname0 = 'localhost' # Host name or IP address to connect to for backend 0 ! backend_port0 = 5432 # Port number for backend 0 ! backend_weight0 = 1 # Weight for backend 0 (only in load balancing mode) ! backend_data_directory0 = '/var/lib/pgsql/data' # Data directory for backend 0 ! backend_flag0 = 'ALLOW_TO_FAILOVER' # Controls various backend behavior # ALLOW_TO_FAILOVER or DISALLOW_TO_FAILOVER #backend_hostname1 = 'host2' *************** *** 183,189 **** pid_file_name = '/var/run/pgpool/pgpool.pid' # PID file name # (change requires restart) ! logdir = '/tmp' # Directory of pgPool status file # (change requires restart) --- 183,189 ---- pid_file_name = '/var/run/pgpool/pgpool.pid' # PID file name # (change requires restart) ! logdir = '/var/log/pgpool' # Directory of pgPool status file # (change requires restart)