File: pgpool-debian-config.patch

package info (click to toggle)
pgpool 3.1.1-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 784 kB
  • ctags: 465
  • sloc: ansic: 6,123; sh: 845; lex: 669; makefile: 29
file content (65 lines) | stat: -rw-r--r-- 2,125 bytes parent folder | download | duplicates (2)
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
60
61
62
63
64
65
diff -Nur pgpool-3.0.2/pgpool.conf.sample pgpool-3.0.2.new/pgpool.conf.sample
--- pgpool-3.0.2/pgpool.conf.sample	2006-02-18 14:13:37.000000000 +0100
+++ pgpool-3.0.2.new/pgpool.conf.sample	2006-05-19 14:53:11.000000000 +0200
@@ -7,11 +7,11 @@
 listen_addresses = 'localhost'
 
 # Port number for pgpool
-port = 9999
+port = 5433
 
 # Unix domain socket path.  (The Debian package defaults to
 # /var/run/postgresql.)
-socket_dir = '/tmp'
+socket_dir = '/var/run/postgresql'
 
 # Host name where PostgreSQL server is running on.  '' means localhost
 # using Unix domain socket.
@@ -22,7 +22,7 @@
 
 # Unix domain socket path for the backend.  (The Debian package defaults
 # to /var/run/postgresql.)
-backend_socket_dir = '/tmp'
+backend_socket_dir = '/var/run/postgresql'
 
 # Host name where secondary PostgreSQL server is running on.  '' means
 # localhost using Unix domain socket.
@@ -49,8 +49,8 @@
 # 0 means no exit.
 child_max_connections = 0
 
-# Logging directory
-logdir = '/tmp'
+# Logging directory (more accurately, the directory for the PID file)
+logdir = '/var/run/postgresql'
 
 # Replication mode
 replication_mode = false
diff -Nur pgpool-3.0.2/pool.h pgpool-3.0.2.new/pool.h
--- pgpool-3.0.2/pool.h	2006-03-31 04:13:21.000000000 +0200
+++ pgpool-3.0.2.new/pool.h	2006-05-19 14:51:43.000000000 +0200
@@ -40,10 +40,10 @@
 #define POOL_CONF_FILE_NAME "pgpool.conf"
 
 /* pid file directory */
-#define DEFAULT_LOGDIR "/tmp"
+#define DEFAULT_LOGDIR "/var/run/postgresql"
 
 /* Unix domain socket directory */
-#define DEFAULT_SOCKET_DIR "/tmp"
+#define DEFAULT_SOCKET_DIR "/var/run/postgresql"
 
 /* pid file name */
 #define PID_FILE_NAME "pgpool.pid"
diff -Nur pgpool-3.0.2/README pgpool-3.0.2.new/README
--- pgpool-3.0.2/README	2006-04-17 06:03:03.000000000 +0200
+++ pgpool-3.0.2.new/README	2006-05-19 14:50:51.000000000 +0200
@@ -336,7 +336,7 @@
 
    the directory name to store pgpool's log files. Currently only a
    file named pgpool.pid(has pgpool's process id) is stored. The
-   default value for logdir is '/tmp'.
+   default value for logdir is '/var/run/postgresql'.
 
    replication_mode