diff --git a/contrib/linux/postgres.init.csh b/contrib/linux/postgres.init.csh index acd1c2a4ede7c62f1ed70bc02415bc0ba0f23ce8..298cc93f20b70dcd394e3735f2db97b69fe0c156 100755 --- a/contrib/linux/postgres.init.csh +++ b/contrib/linux/postgres.init.csh @@ -14,13 +14,13 @@ PGACCOUNT="postgres" # the postgres account (you called it something else?) POSTMASTER="postmaster" # this probably won't change -USE_SOCKET="yes" # "no" to disable Unix sockets on localhost +USE_SOCKET="yes" # "no" to enable tcp/ip(remote) access PGSOCKETFILE="/tmp/.s.PGSQL.5432" USE_SYSLOG="yes" # "yes" to enable syslog, "no" to go to /tmp/postgres.log FACILITY="local5" # can assign local0-local7 as the facility for logging PGLOGFILE="/tmp/postgres.log" # only used if syslog is disabled -PGOPTS="-i -B 1024" # -S -o '-Fe'" +PGOPTS="" #-B 1024 -S -o '-Fe' if [ ${USE_SOCKET} = "no" ] then PGOPTS="-i ${PGOPTS}" # -i to enable TCP/IP rather than Unix socket diff --git a/contrib/linux/postgres.init.sh b/contrib/linux/postgres.init.sh index abeafd3bac35ee5754058a9a18b64f23e2e42fe9..ed538953d45138cce68ad081ecda426245d95319 100755 --- a/contrib/linux/postgres.init.sh +++ b/contrib/linux/postgres.init.sh @@ -69,24 +69,24 @@ PGLOGFILE="/tmp/postgres.log" # # only used if syslog is disabled # -PGOPTS="-B 256" +PGOPTS="" # -B 256 # # The B option sets the number of shared buffers # # Add the "-i" option to enable TCP/IP sockets in addition # to unix domain sockets. This is needed for Java's JDBC # -# PGOPTS="-i -B 256" +# PGOPTS="-i" # # Add the -D option if you want to ovverride the PGDATA # environment variable defined in # -# PGOPTS="-B 256 -D/opt/pgsql/data +# PGOPTS="-D/opt/pgsql/data # # Add the -p option if you would like the listener to # attach to a port other than the one configured (5432?) # -# PGOPTS="-B 256 -D/opt/pgsql_beta/data -p 5433" +# PGOPTS="-D/opt/pgsql_beta/data -p 5433" # # Source function library. diff --git a/src/test/performance/start-pgsql.sh b/src/test/performance/start-pgsql.sh index 8ef3f7aa8ebf844de7c7b3412526d75881d13542..6da4c4332a015ce7dd333c336418eb97e0811d82 100755 --- a/src/test/performance/start-pgsql.sh +++ b/src/test/performance/start-pgsql.sh @@ -3,4 +3,4 @@ # Please choose amount of sort memory (-S XXX) as appropriate # for your system: more is better, but swapping breaks performance! -exec postmaster -B 256 '-o -S 2048' -S +exec postmaster '-o -S 2048' -S