~ubuntu-branches/ubuntu/raring/pgpool2/raring-proposed

« back to all changes in this revision

Viewing changes to pgpool.conf.sample-stream

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Berg
  • Date: 2011-06-10 10:18:29 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20110610101829-oy0uronxs3xz6jer
Tags: 3.0.4-1
* New upstream release
* Use format 3.0 (quilt).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#
2
2
# pgpool-II configuration file sample for Stream replication/Hot standby.
3
 
# $Header: /cvsroot/pgpool/pgpool-II/pgpool.conf.sample-stream,v 1.5.2.2 2011/02/22 06:36:50 kitagawa Exp $
 
3
# $Header: /cvsroot/pgpool/pgpool-II/pgpool.conf.sample-stream,v 1.5.2.3 2011/05/11 01:57:13 t-ishii Exp $
4
4
 
5
5
# Host name or IP address to listen on: '*' for all, '' for no TCP/IP
6
6
# connections
7
7
listen_addresses = 'localhost'
8
8
 
9
9
# Port number for pgpool
10
 
port = 9999
 
10
port = 5433
11
11
 
12
12
# Port number for pgpool communication manager
13
13
pcp_port = 9898
14
14
 
15
15
# Unix domain socket path.  (The Debian package defaults to
16
16
# /var/run/postgresql.)
17
 
socket_dir = '/tmp'
 
17
socket_dir = '/var/run/postgresql'
18
18
 
19
19
# Unix domain socket path for pgpool communication manager.
20
20
# (Debian package defaults to /var/run/postgresql)
21
 
pcp_socket_dir = '/tmp'
 
21
pcp_socket_dir = '/var/run/postgresql'
22
22
 
23
23
# Unix domain socket path for the backend. Debian package defaults to /var/run/postgresql!
24
 
backend_socket_dir = '/tmp'
 
24
backend_socket_dir = '/var/run/postgresql'
25
25
 
26
26
# pgpool communication manager timeout. 0 means no timeout. This parameter is ignored now.
27
27
pcp_timeout = 10
54
54
authentication_timeout = 60
55
55
 
56
56
# Logging directory
57
 
logdir = '/tmp'
 
57
logdir = '/var/log/postgresql'
58
58
 
59
59
# pid file name
60
 
pid_file_name = '/var/run/pgpool/pgpool.pid'
 
60
pid_file_name = '/var/run/postgresql/pgpool.pid'
61
61
 
62
62
# Replication mode
63
63
replication_mode = false
106
106
# white_function_list = ''
107
107
# black_function_list = 'nextval,setval'
108
108
white_function_list = ''
109
 
black_function_list = 'nextval,setval'
 
109
black_function_list = 'currval,lastval,nextval,setval'
110
110
 
111
111
# If true print timestamp on each log line.
112
112
print_timestamp = true