summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/linux/postgres.init.csh4
-rwxr-xr-xcontrib/linux/postgres.init.sh8
2 files changed, 6 insertions, 6 deletions
diff --git a/contrib/linux/postgres.init.csh b/contrib/linux/postgres.init.csh
index acd1c2a4ed..298cc93f20 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 abeafd3bac..ed538953d4 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.