# /etc/postgresql/postmaster.conf # # Copyright (c) Oliver Elphick 1997, 2001 # Part of the Debian package, postgresql. The Debian packaging is # licensed under GPL v.2 # # This is the configurable initialisation of the postgresql package # The defaults are shown, but are commented out. # # As of release 7.1, many parameters may now be found in # /etc/postgresql/postgresql.conf. To avoid confusion, these can # no longer be set here, even though the command line options that # used to control them do still exist. # POSTGRES_HOME=`getent passwd postgres | awk -F: '{print $6}' | head -1` if [ -z "$POSTGRES_HOME" ] then POSTGRES_HOME=/var/lib/postgres fi # Where to find the PostgreSQL database files, including those that # define PostgresSQL users and permissions. # POSTGRES_DATA=/var/lib/postgres/data # Any special options to pass to the postmaster through pg_ctl's -o option. # This may include such options as "-h hostname", for which there is no # parameter defined. However most options can be set by editing # postgresql.conf appropriately. POSTMASTER_OPTIONS="-i" # Minimum number of entries in the kernel file table. If the table size is # lower, postgresql.startup attempts to increase it by writing this parameter # into /proc/sys/kernel/file-max. This is only effective if the kernel has # been compiled to support run-time configuration. # KERNEL_FILE_MAX=1032 # Where to send logging and debugging traces. By default, very little # should appear here, because SYSLOG is set to 2 in postgresql.conf, so # that all messages are sent to syslog only. # # If you change this, remember to change /etc/logrotate.d/postgresql too. # POSTGRES_LOG=/var/log/postgresql/postgres.log