aboutsummaryrefslogtreecommitdiff
blob: e306c961037b6d88998805e3288a99b97695e88c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Which port and socket to bind PostgreSQL
PGPORT="5432"

# Allow *_TIMEOUT to run its course.
# Disable timeouts by changing to '-W' (capital W)
WAIT_FOR_START="-w"
WAIT_FOR_STOP="-w"

# Ignore new connections and wait for clients to disconnect from server before
# shutting down.
# Set NICE_QUIT to "NO" to disable.
NICE_QUIT="YES"

# Forecfully disconnect clients from server and shut down. This is performed
# after NICE_QUIT. Terminating a client results in a rollback of open
# transactions for that client.
# Set RUDE_QUIT to "NO" to disable.
RUDE_QUIT="YES"

# If the server still fails to shutdown, you can force it to quit by setting
# this to yes and a recover-run will execute on the next startup.
# Set FORCE_QUIT to "YES" to enable.
FORCE_QUIT="NO"

# 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"

# Pass extra environment variables. If you have to export environment
# variables for the database process, this can be done here.
# Don't forget to escape quotes.
#PG_EXTRA_ENV="PGPASSFILE=\"/path/to/.pgpass\""

##############################################################################
#
# The following values should not be arbitrarily changed.
# emerge --config dev-db/postgresql-server:8.2 uses these values to
# determine where to create the data directory, where to place the
# configuration files and any additional options you'd like to pass to initdb.
#
# The init script also uses these variables to inform pg_ctl where to find
# the same data and configuration files.
#
##############################################################################

# Location of configuration files
PGDATA="/etc/postgresql-8.2/"

# Where the data directory is located/to be created
DATA_DIR="/var/lib/postgresql/8.2/data"

# Additional options to pass to initdb.
# See 'man initdb' for available options.
#PG_INITDB_OPTS="--locale=en_US.UTF-8"