logo

overlay

My (experimental) gentoo overlay

postgresql.confd-9.3 (2477B)


      1 # Comma-separated list of directories that contain a unix
      2 # socket. Created and controlled by the related initscript. The
      3 # directories created will be owned root:postgres with mode 1775.
      4 #
      5 # /run/postgresql is the default directory.
      6 PG_SOCKET_DIRECTORIES="/run/postgresql"
      7 
      8 # Which port and socket to bind PostgreSQL
      9 PGPORT="5432"
     10 
     11 # How long to wait for server to start in seconds
     12 START_TIMEOUT=10
     13 
     14 # NICE_QUIT ignores new connections and wait for clients to disconnect from
     15 # server before shutting down. NICE_TIMEOUT in seconds determines how long to
     16 # wait for this to succeed.
     17 NICE_TIMEOUT=60
     18 
     19 # Forecfully disconnect clients from server and shut down. This is performed
     20 # after NICE_QUIT. Terminated client connections have their open transactions
     21 # rolled back.
     22 # Set RUDE_QUIT to "NO" to disable. RUDE_TIMEOUT in seconds.
     23 RUDE_QUIT="YES"
     24 RUDE_TIMEOUT=30
     25 
     26 # If the server still fails to shutdown, you can force it to quit by setting
     27 # this to YES and a recover-run will execute on the next startup.
     28 # Set FORCE_QUIT to "YES" to enable. FORCE_TIMEOUT in seconds.
     29 FORCE_QUIT="NO"
     30 FORCE_TIMEOUT=2
     31 
     32 # Extra options to run postmaster with, e.g.:
     33 # -N is the maximal number of client connections
     34 # -B is the number of shared buffers and has to be at least 2x the value for -N
     35 # Please read the man-page to postmaster for more options. Many of these
     36 # options can be set directly in the configuration file.
     37 #PGOPTS="-N 512 -B 1024"
     38 
     39 # Pass extra environment variables. If you have to export environment variables
     40 # for the database process, this can be done here.
     41 # Don't forget to escape quotes.
     42 #PG_EXTRA_ENV="PGPASSFILE=\"/path/to/.pgpass\""
     43 
     44 ##############################################################################
     45 #
     46 # The following values should not be arbitrarily changed.
     47 #
     48 # `emerge --config dev-db/postgresql:@SLOT@' uses these values to
     49 # determine where to create the data directory, where to place the
     50 # configuration files, and any additional options to pass to initdb.
     51 #
     52 # The initscript also uses these variables to inform PostgreSQL where to find
     53 # its data directory and configuration files.
     54 #
     55 ##############################################################################
     56 
     57 # Location of configuration files
     58 PGDATA="/etc/postgresql-@SLOT@/"
     59 
     60 # Where the data directory is located/to be created
     61 DATA_DIR="/var/lib/postgresql/@SLOT@/data"
     62 
     63 # Additional options to pass to initdb.
     64 # See `man initdb' for available options.
     65 PG_INITDB_OPTS="--encoding=UTF8"