diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2008-04-15 09:29:55 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2008-04-15 09:29:55 +0000 |
commit | f867c60e5b723bab424ad98995d3a0655069b6c0 (patch) | |
tree | b6d089aaf387644652b4ef157b10933e375acf6b /dev-db/postgresql-server/files/postgresql.conf-7.4 | |
parent | Added uuid USE-flag for dev-db/postgresql-server (diff) | |
download | gentoo-2-f867c60e5b723bab424ad98995d3a0655069b6c0.tar.gz gentoo-2-f867c60e5b723bab424ad98995d3a0655069b6c0.tar.bz2 gentoo-2-f867c60e5b723bab424ad98995d3a0655069b6c0.zip |
Moved into the tree. Thanks to Michael Krelin (polyonymous).
(Portage version: 2.1.5_rc2)
Diffstat (limited to 'dev-db/postgresql-server/files/postgresql.conf-7.4')
-rw-r--r-- | dev-db/postgresql-server/files/postgresql.conf-7.4 | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-db/postgresql-server/files/postgresql.conf-7.4 b/dev-db/postgresql-server/files/postgresql.conf-7.4 new file mode 100644 index 000000000000..d59ac96d6d8f --- /dev/null +++ b/dev-db/postgresql-server/files/postgresql.conf-7.4 @@ -0,0 +1,48 @@ +# PostgreSQL's Database Directory +PGDATA="/var/lib/postgresql/7.4/data" + +# PostgreSQL User +PGUSER="postgres" + +# PostgreSQL Group +PGGROUP="postgres" + +# Extra options to run postmaster with, e.g.: +# -N is the maximal number of client connections +# -B is the number of shared buffers and has to be at least 2x the value for -N +# Please read the man-page to postmaster for more options. Many of these options +# can be set directly in the configuration-file. +#PGOPTS="-N 512 -B 1024" + + +# SERVER SHUTDOWN: +# The server will receive 3 signals in the worst case: +# 1. SIGTERM +# This signals the server to ignore new connections and to +# wait for all clients to end their transactions before shutting down. +# Use WAIT_FOR_DISCONNECT to control how much time the clients +# should have until the next signal is being sent. +# 2. SIGINT +# Tell the server to forcefully disconnect all clients. +# Terminating a client results in a rollback of the open transactions for this client. +# Use WAIT_FOR_CLEANUP to determine how much time the server has +# for cleanup. +# 3. SIGQUIT +# This will terminate the server immediately and results in a recovery run for the next start. + +# Wait for clients to disconnect +WAIT_FOR_DISCONNECT=30 + +# Time the server has to clean up +WAIT_FOR_CLEANUP=60 + +# Time the server has to quit (with a recover-run on next startup) +# Set to 0 to deactivate it +WAIT_FOR_QUIT=60 + + +# If you have to export environment variables for the database process, +# this can be done here. +# +# Example: +# export R_HOME="/usr/lib/R" |