Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit57455fc

Browse files
committed
Remove more -B parameters not needed.
1 parentbd5cf46 commit57455fc

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

‎contrib/linux/postgres.init.csh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
PGACCOUNT="postgres"# the postgres account (you called it something else?)
1515
POSTMASTER="postmaster"# this probably won't change
1616

17-
USE_SOCKET="yes"# "no" todisable Unix sockets on localhost
17+
USE_SOCKET="yes"# "no" toenable tcp/ip(remote) access
1818
PGSOCKETFILE="/tmp/.s.PGSQL.5432"
1919
USE_SYSLOG="yes"# "yes" to enable syslog, "no" to go to /tmp/postgres.log
2020
FACILITY="local5"# can assign local0-local7 as the facility for logging
2121
PGLOGFILE="/tmp/postgres.log"# only used if syslog is disabled
2222

23-
PGOPTS="-i-B 1024"#-S -o '-Fe'"
23+
PGOPTS=""#-B 1024-S -o '-Fe'
2424
if [${USE_SOCKET}="no" ]
2525
then
2626
PGOPTS="-i${PGOPTS}"# -i to enable TCP/IP rather than Unix socket

‎contrib/linux/postgres.init.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,24 +69,24 @@ PGLOGFILE="/tmp/postgres.log"
6969
#
7070
# only used if syslog is disabled
7171
#
72-
PGOPTS="-B 256"
72+
PGOPTS=""#-B 256
7373
#
7474
# The B option sets the number of shared buffers
7575
#
7676
# Add the "-i" option to enable TCP/IP sockets in addition
7777
# to unix domain sockets. This is needed for Java's JDBC
7878
#
79-
# PGOPTS="-i -B 256"
79+
# PGOPTS="-i"
8080
#
8181
# Add the -D option if you want to ovverride the PGDATA
8282
# environment variable defined in
8383
#
84-
# PGOPTS="-B 256 -D/opt/pgsql/data
84+
# PGOPTS="-D/opt/pgsql/data
8585
#
8686
# Add the -p option if you would like the listener to
8787
# attach to a port other than the one configured (5432?)
8888
#
89-
# PGOPTS="-B 256 -D/opt/pgsql_beta/data -p 5433"
89+
# PGOPTS="-D/opt/pgsql_beta/data -p 5433"
9090
#
9191

9292
# Source function library.

‎src/test/performance/start-pgsql.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# Please choose amount of sort memory (-S XXX) as appropriate
44
# for your system: more is better, but swapping breaks performance!
55

6-
exec postmaster-B 256'-o -S 2048' -S
6+
exec postmaster'-o -S 2048' -S

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp