Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
57455fc5
Commit
57455fc5
authored
25 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Remove more -B parameters not needed.
parent
bd5cf46e
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
contrib/linux/postgres.init.csh
+2
-2
2 additions, 2 deletions
contrib/linux/postgres.init.csh
contrib/linux/postgres.init.sh
+4
-4
4 additions, 4 deletions
contrib/linux/postgres.init.sh
src/test/performance/start-pgsql.sh
+1
-1
1 addition, 1 deletion
src/test/performance/start-pgsql.sh
with
7 additions
and
7 deletions
contrib/linux/postgres.init.csh
+
2
−
2
View file @
57455fc5
...
@@ -14,13 +14,13 @@
...
@@ -14,13 +14,13 @@
PGACCOUNT
=
"postgres"
# the postgres account (you called it something else?)
PGACCOUNT
=
"postgres"
# the postgres account (you called it something else?)
POSTMASTER
=
"postmaster"
# this probably won't change
POSTMASTER
=
"postmaster"
# this probably won't change
USE_SOCKET
=
"yes"
# "no" to
dis
able
Unix sockets on localhost
USE_SOCKET
=
"yes"
# "no" to
en
able
tcp/ip(remote) access
PGSOCKETFILE
=
"/tmp/.s.PGSQL.5432"
PGSOCKETFILE
=
"/tmp/.s.PGSQL.5432"
USE_SYSLOG
=
"yes"
# "yes" to enable syslog, "no" to go to /tmp/postgres.log
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
FACILITY
=
"local5"
# can assign local0-local7 as the facility for logging
PGLOGFILE
=
"/tmp/postgres.log"
# only used if syslog is disabled
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"
]
if
[
${
USE_SOCKET
}
=
"no"
]
then
then
PGOPTS
=
"-i
${
PGOPTS
}
"
# -i to enable TCP/IP rather than Unix socket
PGOPTS
=
"-i
${
PGOPTS
}
"
# -i to enable TCP/IP rather than Unix socket
...
...
This diff is collapsed.
Click to expand it.
contrib/linux/postgres.init.sh
+
4
−
4
View file @
57455fc5
...
@@ -69,24 +69,24 @@ PGLOGFILE="/tmp/postgres.log"
...
@@ -69,24 +69,24 @@ PGLOGFILE="/tmp/postgres.log"
#
#
# only used if syslog is disabled
# only used if syslog is disabled
#
#
PGOPTS
=
"-B 256
"
PGOPTS
=
"
"
#
-B 256
#
#
# The B option sets the number of shared buffers
# The B option sets the number of shared buffers
#
#
# Add the "-i" option to enable TCP/IP sockets in addition
# Add the "-i" option to enable TCP/IP sockets in addition
# to unix domain sockets. This is needed for Java's JDBC
# 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
# Add the -D option if you want to ovverride the PGDATA
# environment variable defined in
# 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
# Add the -p option if you would like the listener to
# attach to a port other than the one configured (5432?)
# 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.
# Source function library.
...
...
This diff is collapsed.
Click to expand it.
src/test/performance/start-pgsql.sh
+
1
−
1
View file @
57455fc5
...
@@ -3,4 +3,4 @@
...
@@ -3,4 +3,4 @@
# Please choose amount of sort memory (-S XXX) as appropriate
# Please choose amount of sort memory (-S XXX) as appropriate
# for your system: more is better, but swapping breaks performance!
# for your system: more is better, but swapping breaks performance!
exec
postmaster
-B
256
'-o -S 2048'
-S
exec
postmaster
'-o -S 2048'
-S
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment