File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 14
14
PGACCOUNT=" postgres" # the postgres account (you called it something else?)
15
15
POSTMASTER=" postmaster" # this probably won't change
16
16
17
- USE_SOCKET=" yes" # "no" to disable Unix sockets on localhost
17
+ USE_SOCKET=" yes" # "no" to enable tcp/ip(remote) access
18
18
PGSOCKETFILE=" /tmp/.s.PGSQL.5432"
19
19
USE_SYSLOG=" yes" # "yes" to enable syslog, "no" to go to /tmp/postgres.log
20
20
FACILITY=" local5" # can assign local0-local7 as the facility for logging
21
21
PGLOGFILE=" /tmp/postgres.log" # only used if syslog is disabled
22
22
23
- PGOPTS=" -i -B 1024" # -S -o '-Fe'"
23
+ PGOPTS=" " # -B 1024 -S -o '-Fe'
24
24
if [ ${USE_SOCKET} = " no" ]
25
25
then
26
26
PGOPTS=" -i ${PGOPTS} " # -i to enable TCP/IP rather than Unix socket
Original file line number Diff line number Diff line change @@ -69,24 +69,24 @@ PGLOGFILE="/tmp/postgres.log"
69
69
#
70
70
# only used if syslog is disabled
71
71
#
72
- PGOPTS=" -B 256"
72
+ PGOPTS=" " # -B 256
73
73
#
74
74
# The B option sets the number of shared buffers
75
75
#
76
76
# Add the "-i" option to enable TCP/IP sockets in addition
77
77
# to unix domain sockets. This is needed for Java's JDBC
78
78
#
79
- # PGOPTS="-i -B 256 "
79
+ # PGOPTS="-i"
80
80
#
81
81
# Add the -D option if you want to ovverride the PGDATA
82
82
# environment variable defined in
83
83
#
84
- # PGOPTS="-B 256 - D/opt/pgsql/data
84
+ # PGOPTS="-D/opt/pgsql/data
85
85
#
86
86
# Add the -p option if you would like the listener to
87
87
# attach to a port other than the one configured (5432?)
88
88
#
89
- # PGOPTS="-B 256 - D/opt/pgsql_beta/data -p 5433"
89
+ # PGOPTS="-D/opt/pgsql_beta/data -p 5433"
90
90
#
91
91
92
92
# Source function library.
Original file line number Diff line number Diff line change 3
3
# Please choose amount of sort memory (-S XXX) as appropriate
4
4
# for your system: more is better, but swapping breaks performance!
5
5
6
- exec postmaster -B 256 ' -o -S 2048' -S
6
+ exec postmaster ' -o -S 2048' -S
You can’t perform that action at this time.
0 commit comments