1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
--- pgbouncer-1.3.orig/etc/pgbouncer.ini 2009-02-25 15:55:24.289557192 -0300
+++ pgbouncer-1.3/etc/pgbouncer.ini 2009-02-25 15:59:53.401611098 -0300
@@ -5,12 +5,12 @@
foodb =
; redirect bardb to bazdb on localhost
-bardb = host=127.0.0.1 dbname=bazdb
+bardb =
; acceess to dest database will go with single user
-forcedb = host=127.0.0.1 port=300 user=baz password=foo client_encoding=UNICODE datestyle=ISO connect_query='SELECT 1'
+forcedb =
-nondefaultdb = pool_size=50 reserve_pool=10
+nondefaultdb =
; fallback connect string
;* = host=testserver
@@ -22,8 +22,8 @@
;;; Administrative settings
;;;
-logfile = pgbouncer.log
-pidfile = pgbouncer.pid
+logfile = /var/log/postgresql/pgbouncer.log
+pidfile = /var/run/postgresql/pgbouncer.pid
;;;
;;; Where to wait for clients
@@ -32,7 +32,7 @@
; ip address or * which means all ip-s
listen_addr = 127.0.0.1
listen_port = 6432
-unix_socket_dir = /tmp
+unix_socket_dir = /var/run/postgresql
;;;
;;; Authentication settings
@@ -41,17 +41,17 @@
; any, trust, plain, crypt, md5
auth_type = trust
#auth_file = 8.0/main/global/pg_auth
-auth_file = etc/userlist.txt
+auth_file = /etc/pgbouncer/userlist.txt
;;;
;;; Users allowed into database 'pgbouncer'
;;;
; comma-separated list of users, who are allowed to change settings
-admin_users = user2, someadmin, otheradmin
+admin_users =
; comma-separated list of users who are just allowed to use SHOW command
-stats_users = stats, root
+stats_users =
;;;
;;; Pooler personality questions
|