40 lines
1.7 KiB
Diff
40 lines
1.7 KiB
Diff
diff -up pgpool-II-3.1/pgpool.conf.sample.orig pgpool-II-3.1/pgpool.conf.sample
|
|
--- pgpool-II-3.1/pgpool.conf.sample.orig 2011-08-25 17:04:43.000000000 -0400
|
|
+++ pgpool-II-3.1/pgpool.conf.sample 2011-09-12 10:51:53.136935503 -0400
|
|
@@ -33,8 +33,6 @@ port = 9999
|
|
# (change requires restart)
|
|
socket_dir = '/tmp'
|
|
# Unix domain socket path
|
|
- # The Debian package defaults to
|
|
- # /var/run/postgresql
|
|
# (change requires restart)
|
|
|
|
|
|
@@ -45,12 +43,16 @@ pcp_port = 9898
|
|
# (change requires restart)
|
|
pcp_socket_dir = '/tmp'
|
|
# Unix domain socket path for pcp
|
|
- # The Debian package defaults to
|
|
- # /var/run/postgresql
|
|
# (change requires restart)
|
|
|
|
# - Backend Connection Settings -
|
|
|
|
+backend_hostname0 = 'localhost'
|
|
+backend_port0 = 5432
|
|
+backend_weight0 = 1
|
|
+backend_data_directory0 = '/var/lib/pgsql/data'
|
|
+backend_flag0 = 'ALLOW_TO_FAILOVER'
|
|
+
|
|
#backend_hostname0 = 'host1'
|
|
# Host name or IP address to connect to for backend 0
|
|
#backend_port0 = 5432
|
|
@@ -179,7 +181,7 @@ debug_level = 0
|
|
pid_file_name = '/var/run/pgpool/pgpool.pid'
|
|
# PID file name
|
|
# (change requires restart)
|
|
-logdir = '/tmp'
|
|
+logdir = '/var/log/pgpool'
|
|
# Directory of pgPool status file
|
|
# (change requires restart)
|
|
|