2003-07-18 21:16:03 +02:00
|
|
|
# -----------------------------
|
2000-06-04 03:44:38 +02:00
|
|
|
# PostgreSQL configuration file
|
|
|
|
# -----------------------------
|
|
|
|
#
|
2002-03-09 06:11:38 +01:00
|
|
|
# This file consists of lines of the form:
|
2000-06-04 03:44:38 +02:00
|
|
|
#
|
|
|
|
# name = value
|
|
|
|
#
|
2007-12-07 17:44:56 +01:00
|
|
|
# (The "=" is optional.) Whitespace may be used. Comments are introduced with
|
|
|
|
# "#" anywhere on a line. The complete list of parameter names and allowed
|
|
|
|
# values can be found in the PostgreSQL documentation.
|
2002-03-09 06:11:38 +01:00
|
|
|
#
|
2007-12-07 17:44:56 +01:00
|
|
|
# The commented-out settings shown in this file represent the default values.
|
|
|
|
# Re-commenting a setting is NOT sufficient to revert it to the default value;
|
|
|
|
# you need to reload the server.
|
2004-09-20 19:53:59 +02:00
|
|
|
#
|
2007-12-07 17:44:56 +01:00
|
|
|
# This file is read on server startup and when the server receives a SIGHUP
|
|
|
|
# signal. If you edit the file on a running system, you have to SIGHUP the
|
|
|
|
# server for the changes to take effect, or use "pg_ctl reload". Some
|
|
|
|
# parameters, which are marked below, require a server shutdown and restart to
|
|
|
|
# take effect.
|
2002-03-09 06:11:38 +01:00
|
|
|
#
|
2007-12-07 17:44:56 +01:00
|
|
|
# Any parameter can also be given as a command-line option to the server, e.g.,
|
2008-06-11 17:44:52 +02:00
|
|
|
# "postgres -c log_connections=on". Some parameters can be changed at run time
|
2007-12-07 17:44:56 +01:00
|
|
|
# with the "SET" SQL command.
|
2007-01-20 22:42:03 +01:00
|
|
|
#
|
2009-04-06 21:03:04 +02:00
|
|
|
# Memory units: kB = kilobytes Time units: ms = milliseconds
|
|
|
|
# MB = megabytes s = seconds
|
|
|
|
# GB = gigabytes min = minutes
|
|
|
|
# h = hours
|
|
|
|
# d = days
|
2001-01-24 19:37:31 +01:00
|
|
|
|
|
|
|
|
2007-12-07 17:44:56 +01:00
|
|
|
#------------------------------------------------------------------------------
|
2004-10-08 03:36:36 +02:00
|
|
|
# FILE LOCATIONS
|
2007-12-07 17:44:56 +01:00
|
|
|
#------------------------------------------------------------------------------
|
2004-07-11 02:18:45 +02:00
|
|
|
|
2007-12-07 17:44:56 +01:00
|
|
|
# The default values of these variables are driven from the -D command-line
|
|
|
|
# option or PGDATA environment variable, represented here as ConfigDir.
|
2005-06-04 20:13:59 +02:00
|
|
|
|
2005-08-21 05:39:37 +02:00
|
|
|
#data_directory = 'ConfigDir' # use data in another directory
|
2006-07-24 12:44:40 +02:00
|
|
|
# (change requires restart)
|
2005-08-21 05:39:37 +02:00
|
|
|
#hba_file = 'ConfigDir/pg_hba.conf' # host-based authentication file
|
2006-07-24 12:44:40 +02:00
|
|
|
# (change requires restart)
|
|
|
|
#ident_file = 'ConfigDir/pg_ident.conf' # ident configuration file
|
|
|
|
# (change requires restart)
|
2004-10-08 03:36:36 +02:00
|
|
|
|
2006-07-24 12:44:40 +02:00
|
|
|
# If external_pid_file is not explicitly set, no extra PID file is written.
|
2011-10-10 14:16:36 +02:00
|
|
|
#external_pid_file = '' # write an extra PID file
|
2006-07-24 12:44:40 +02:00
|
|
|
# (change requires restart)
|
2004-07-11 02:18:45 +02:00
|
|
|
|
|
|
|
|
2007-12-07 17:44:56 +01:00
|
|
|
#------------------------------------------------------------------------------
|
2003-07-04 18:41:22 +02:00
|
|
|
# CONNECTIONS AND AUTHENTICATION
|
2007-12-07 17:44:56 +01:00
|
|
|
#------------------------------------------------------------------------------
|
2003-07-18 21:16:03 +02:00
|
|
|
|
|
|
|
# - Connection Settings -
|
2003-07-04 18:41:22 +02:00
|
|
|
|
2007-12-07 17:44:56 +01:00
|
|
|
#listen_addresses = 'localhost' # what IP address(es) to listen on;
|
2005-09-02 23:25:30 +02:00
|
|
|
# comma-separated list of addresses;
|
2011-08-25 15:39:35 +02:00
|
|
|
# defaults to 'localhost'; use '*' for all
|
2006-07-24 12:44:40 +02:00
|
|
|
# (change requires restart)
|
|
|
|
#port = 5432 # (change requires restart)
|
|
|
|
#max_connections = 100 # (change requires restart)
|
2010-11-23 21:27:50 +01:00
|
|
|
# Note: Increasing max_connections costs ~400 bytes of shared memory per
|
2008-03-09 05:56:28 +01:00
|
|
|
# connection slot, plus lock space (see max_locks_per_transaction).
|
2006-09-03 01:08:36 +02:00
|
|
|
#superuser_reserved_connections = 3 # (change requires restart)
|
2012-08-10 23:26:44 +02:00
|
|
|
#unix_socket_directories = '/tmp' # comma-separated list of directories
|
|
|
|
# (change requires restart)
|
2006-07-24 12:44:40 +02:00
|
|
|
#unix_socket_group = '' # (change requires restart)
|
2007-12-07 17:44:56 +01:00
|
|
|
#unix_socket_permissions = 0777 # begin with 0 to use octal notation
|
2006-07-24 12:44:40 +02:00
|
|
|
# (change requires restart)
|
2009-09-08 19:08:36 +02:00
|
|
|
#bonjour = off # advertise server via Bonjour
|
|
|
|
# (change requires restart)
|
2005-08-19 03:55:18 +02:00
|
|
|
#bonjour_name = '' # defaults to the computer name
|
2006-07-24 12:44:40 +02:00
|
|
|
# (change requires restart)
|
2001-01-24 19:37:31 +01:00
|
|
|
|
2007-12-07 17:44:56 +01:00
|
|
|
# - Security and Authentication -
|
2003-07-04 18:41:22 +02:00
|
|
|
|
2006-09-22 19:41:21 +02:00
|
|
|
#authentication_timeout = 1min # 1s-600s
|
2006-07-24 12:44:40 +02:00
|
|
|
#ssl = off # (change requires restart)
|
2007-12-07 17:44:56 +01:00
|
|
|
#ssl_ciphers = 'ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH' # allowed SSL ciphers
|
2007-02-16 18:07:00 +01:00
|
|
|
# (change requires restart)
|
2010-02-25 14:26:16 +01:00
|
|
|
#ssl_renegotiation_limit = 512MB # amount of data between renegotiations
|
2012-02-22 22:40:46 +01:00
|
|
|
#ssl_cert_file = 'server.crt' # (change requires restart)
|
|
|
|
#ssl_key_file = 'server.key' # (change requires restart)
|
|
|
|
#ssl_ca_file = '' # (change requires restart)
|
|
|
|
#ssl_crl_file = '' # (change requires restart)
|
2005-07-02 20:29:04 +02:00
|
|
|
#password_encryption = on
|
|
|
|
#db_user_namespace = off
|
2005-08-21 05:39:37 +02:00
|
|
|
|
2007-07-10 15:14:22 +02:00
|
|
|
# Kerberos and GSSAPI
|
2009-01-02 12:26:24 +01:00
|
|
|
#krb_server_keyfile = ''
|
|
|
|
#krb_srvname = 'postgres' # (Kerberos only)
|
|
|
|
#krb_caseins_users = off
|
2001-01-24 19:37:31 +01:00
|
|
|
|
2005-07-30 17:17:26 +02:00
|
|
|
# - TCP Keepalives -
|
2007-12-07 17:44:56 +01:00
|
|
|
# see "man 7 tcp" for details
|
2005-09-12 04:26:33 +02:00
|
|
|
|
|
|
|
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
|
|
|
|
# 0 selects the system default
|
|
|
|
#tcp_keepalives_interval = 0 # TCP_KEEPINTVL, in seconds;
|
|
|
|
# 0 selects the system default
|
|
|
|
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
|
|
|
|
# 0 selects the system default
|
|
|
|
|
2001-01-24 19:37:31 +01:00
|
|
|
|
2007-12-07 17:44:56 +01:00
|
|
|
#------------------------------------------------------------------------------
|
2003-07-04 18:41:22 +02:00
|
|
|
# RESOURCE USAGE (except WAL)
|
2007-12-07 17:44:56 +01:00
|
|
|
#------------------------------------------------------------------------------
|
2003-07-18 21:16:03 +02:00
|
|
|
|
|
|
|
# - Memory -
|
2003-07-04 18:41:22 +02:00
|
|
|
|
2008-03-09 05:56:28 +01:00
|
|
|
#shared_buffers = 32MB # min 128kB
|
2006-07-24 12:44:40 +02:00
|
|
|
# (change requires restart)
|
2006-10-03 23:11:55 +02:00
|
|
|
#temp_buffers = 8MB # min 800kB
|
2009-04-23 02:23:46 +02:00
|
|
|
#max_prepared_transactions = 0 # zero disables the feature
|
2006-07-24 12:44:40 +02:00
|
|
|
# (change requires restart)
|
2007-12-07 17:44:56 +01:00
|
|
|
# Note: Increasing max_prepared_transactions costs ~600 bytes of shared memory
|
2005-08-30 02:58:48 +02:00
|
|
|
# per transaction slot, plus lock space (see max_locks_per_transaction).
|
2009-04-23 02:23:46 +02:00
|
|
|
# It is not advisable to set max_prepared_transactions nonzero unless you
|
|
|
|
# actively intend to use prepared transactions.
|
2006-09-22 19:41:21 +02:00
|
|
|
#work_mem = 1MB # min 64kB
|
|
|
|
#maintenance_work_mem = 16MB # min 1MB
|
|
|
|
#max_stack_depth = 2MB # min 100kB
|
2003-07-04 18:41:22 +02:00
|
|
|
|
2011-07-17 20:19:31 +02:00
|
|
|
# - Disk -
|
|
|
|
|
|
|
|
#temp_file_limit = -1 # limits per-session temp file space
|
|
|
|
# in kB, or -1 for no limit
|
|
|
|
|
2003-07-18 21:16:03 +02:00
|
|
|
# - Kernel Resource Usage -
|
2001-06-28 01:31:40 +02:00
|
|
|
|
2005-08-19 03:55:18 +02:00
|
|
|
#max_files_per_process = 1000 # min 25
|
2006-07-24 12:44:40 +02:00
|
|
|
# (change requires restart)
|
2006-08-15 20:26:59 +02:00
|
|
|
#shared_preload_libraries = '' # (change requires restart)
|
2001-01-24 19:37:31 +01:00
|
|
|
|
2004-08-08 21:42:57 +02:00
|
|
|
# - Cost-Based Vacuum Delay -
|
|
|
|
|
2012-08-14 22:16:45 +02:00
|
|
|
#vacuum_cost_delay = 0 # 0-100 milliseconds
|
2005-08-19 03:55:18 +02:00
|
|
|
#vacuum_cost_page_hit = 1 # 0-10000 credits
|
|
|
|
#vacuum_cost_page_miss = 10 # 0-10000 credits
|
|
|
|
#vacuum_cost_page_dirty = 20 # 0-10000 credits
|
2008-01-10 03:50:01 +01:00
|
|
|
#vacuum_cost_limit = 200 # 1-10000 credits
|
2004-08-08 21:42:57 +02:00
|
|
|
|
2007-12-07 17:44:56 +01:00
|
|
|
# - Background Writer -
|
2004-08-08 21:42:57 +02:00
|
|
|
|
2006-09-22 19:41:21 +02:00
|
|
|
#bgwriter_delay = 200ms # 10-10000ms between rounds
|
2007-09-25 22:03:38 +02:00
|
|
|
#bgwriter_lru_maxpages = 100 # 0-1000 max buffers written/round
|
|
|
|
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multipler on buffers scanned/round
|
2004-08-08 21:42:57 +02:00
|
|
|
|
2009-01-12 06:10:45 +01:00
|
|
|
# - Asynchronous Behavior -
|
|
|
|
|
2012-05-14 03:14:35 +02:00
|
|
|
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
2009-01-12 06:10:45 +01:00
|
|
|
|
2001-01-24 19:37:31 +01:00
|
|
|
|
2007-12-07 17:44:56 +01:00
|
|
|
#------------------------------------------------------------------------------
|
2003-07-04 18:41:22 +02:00
|
|
|
# WRITE AHEAD LOG
|
2007-12-07 17:44:56 +01:00
|
|
|
#------------------------------------------------------------------------------
|
2003-07-18 21:16:03 +02:00
|
|
|
|
|
|
|
# - Settings -
|
2003-07-04 18:41:22 +02:00
|
|
|
|
Introduce wal_level GUC to explicitly control if information needed for
archival or hot standby should be WAL-logged, instead of deducing that from
other options like archive_mode. This replaces recovery_connections GUC in
the primary, where it now has no effect, but it's still used in the standby
to enable/disable hot standby.
Remove the WAL-logging of "unlogged operations", like creating an index
without WAL-logging and fsyncing it at the end. Instead, we keep a copy of
the wal_mode setting and the settings that affect how much shared memory a
hot standby server needs to track master transactions (max_connections,
max_prepared_xacts, max_locks_per_xact) in pg_control. Whenever the settings
change, at server restart, write a WAL record noting the new settings and
update pg_control. This allows us to notice the change in those settings in
the standby at the right moment, they used to be included in checkpoint
records, but that meant that a changed value was not reflected in the
standby until the first checkpoint after the change.
Bump PG_CONTROL_VERSION and XLOG_PAGE_MAGIC. Whack XLOG_PAGE_MAGIC back to
the sequence it used to follow, before hot standby and subsequent patches
changed it to 0x9003.
2010-04-28 18:10:43 +02:00
|
|
|
#wal_level = minimal # minimal, archive, or hot_standby
|
2010-09-27 15:14:14 +02:00
|
|
|
# (change requires restart)
|
2005-08-19 03:55:18 +02:00
|
|
|
#fsync = on # turns forced synchronization on or off
|
2012-04-14 16:53:22 +02:00
|
|
|
#synchronous_commit = on # synchronization level;
|
|
|
|
# off, local, remote_write, or on
|
2010-11-23 21:27:50 +01:00
|
|
|
#wal_sync_method = fsync # the default is the first option
|
2005-08-19 03:55:18 +02:00
|
|
|
# supported by the operating system:
|
|
|
|
# open_datasync
|
2010-12-09 02:01:09 +01:00
|
|
|
# fdatasync (default on Linux)
|
2005-08-19 03:55:18 +02:00
|
|
|
# fsync
|
|
|
|
# fsync_writethrough
|
|
|
|
# open_sync
|
|
|
|
#full_page_writes = on # recover from partial page writes
|
2011-01-23 02:31:24 +01:00
|
|
|
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
|
2006-07-24 12:44:40 +02:00
|
|
|
# (change requires restart)
|
2007-12-07 17:44:56 +01:00
|
|
|
#wal_writer_delay = 200ms # 1-10000 milliseconds
|
2007-07-24 06:54:09 +02:00
|
|
|
|
2005-08-19 03:55:18 +02:00
|
|
|
#commit_delay = 0 # range 0-100000, in microseconds
|
|
|
|
#commit_siblings = 5 # range 1-1000
|
2003-07-04 18:41:22 +02:00
|
|
|
|
2003-07-18 21:16:03 +02:00
|
|
|
# - Checkpoints -
|
2003-07-04 18:41:22 +02:00
|
|
|
|
2005-08-19 03:55:18 +02:00
|
|
|
#checkpoint_segments = 3 # in logfile segments, min 1, 16MB each
|
2006-09-22 19:41:21 +02:00
|
|
|
#checkpoint_timeout = 5min # range 30s-1h
|
2007-06-28 02:02:40 +02:00
|
|
|
#checkpoint_completion_target = 0.5 # checkpoint target duration, 0.0 - 1.0
|
2009-04-08 00:22:19 +02:00
|
|
|
#checkpoint_warning = 30s # 0 disables
|
2001-08-21 18:31:23 +02:00
|
|
|
|
2004-07-19 04:47:16 +02:00
|
|
|
# - Archiving -
|
|
|
|
|
2007-09-27 00:36:30 +02:00
|
|
|
#archive_mode = off # allows archiving to be done
|
|
|
|
# (change requires restart)
|
2006-08-18 01:04:10 +02:00
|
|
|
#archive_command = '' # command to use to archive a logfile segment
|
2011-09-03 00:29:09 +02:00
|
|
|
# placeholders: %p = path of file to archive
|
|
|
|
# %f = file name only
|
|
|
|
# e.g. 'test ! -f /mnt/server/archivedir/%f && cp %p /mnt/server/archivedir/%f'
|
2006-08-18 01:04:10 +02:00
|
|
|
#archive_timeout = 0 # force a logfile segment switch after this
|
2009-04-08 00:22:19 +02:00
|
|
|
# number of seconds; 0 disables
|
2004-08-12 20:32:52 +02:00
|
|
|
|
2011-03-06 23:49:16 +01:00
|
|
|
|
2011-07-07 21:10:32 +02:00
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
# REPLICATION
|
|
|
|
#------------------------------------------------------------------------------
|
2011-03-06 23:49:16 +01:00
|
|
|
|
2011-07-19 09:59:55 +02:00
|
|
|
# - Sending Server(s) -
|
2011-07-07 21:10:32 +02:00
|
|
|
|
2012-05-14 03:14:35 +02:00
|
|
|
# Set these on the master and on any standby that will send replication data.
|
2010-06-15 09:52:11 +02:00
|
|
|
|
|
|
|
#max_wal_senders = 0 # max number of walsender processes
|
2010-09-27 15:14:14 +02:00
|
|
|
# (change requires restart)
|
2010-06-15 09:52:11 +02:00
|
|
|
#wal_keep_segments = 0 # in logfile segments, 16MB each; 0 disables
|
2012-10-11 16:39:52 +02:00
|
|
|
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
2011-07-19 09:59:55 +02:00
|
|
|
|
|
|
|
# - Master Server -
|
|
|
|
|
2012-05-14 03:14:35 +02:00
|
|
|
# These settings are ignored on a standby server.
|
2011-07-19 09:59:55 +02:00
|
|
|
|
2011-07-07 21:10:32 +02:00
|
|
|
#synchronous_standby_names = '' # standby servers that provide sync rep
|
|
|
|
# comma-separated list of application_name
|
|
|
|
# from standby(s); '*' = all
|
2011-07-19 09:59:55 +02:00
|
|
|
#vacuum_defer_cleanup_age = 0 # number of xacts by which cleanup is delayed
|
2010-06-15 09:52:11 +02:00
|
|
|
|
|
|
|
# - Standby Servers -
|
2010-01-29 19:39:05 +01:00
|
|
|
|
2012-05-14 03:14:35 +02:00
|
|
|
# These settings are ignored on a master server.
|
2011-07-07 21:10:32 +02:00
|
|
|
|
2010-07-03 22:43:58 +02:00
|
|
|
#hot_standby = off # "on" allows queries during recovery
|
2010-09-27 15:14:14 +02:00
|
|
|
# (change requires restart)
|
2010-07-03 22:43:58 +02:00
|
|
|
#max_standby_archive_delay = 30s # max delay before canceling queries
|
|
|
|
# when reading WAL from archive;
|
|
|
|
# -1 allows indefinite delay
|
|
|
|
#max_standby_streaming_delay = 30s # max delay before canceling queries
|
|
|
|
# when reading streaming WAL;
|
|
|
|
# -1 allows indefinite delay
|
2011-07-07 21:10:32 +02:00
|
|
|
#wal_receiver_status_interval = 10s # send replies at least this often
|
|
|
|
# 0 disables
|
|
|
|
#hot_standby_feedback = off # send info from standby to prevent
|
|
|
|
# query conflicts
|
2012-10-11 16:39:52 +02:00
|
|
|
#wal_receiver_timeout = 60s # time that receiver waits for
|
|
|
|
# communication from master
|
|
|
|
# in milliseconds; 0 disables
|
2001-08-21 18:31:23 +02:00
|
|
|
|
2010-01-15 10:19:10 +01:00
|
|
|
|
2007-12-07 17:44:56 +01:00
|
|
|
#------------------------------------------------------------------------------
|
2003-07-04 18:41:22 +02:00
|
|
|
# QUERY TUNING
|
2007-12-07 17:44:56 +01:00
|
|
|
#------------------------------------------------------------------------------
|
2003-07-18 21:16:03 +02:00
|
|
|
|
2003-12-01 23:08:02 +01:00
|
|
|
# - Planner Method Configuration -
|
2003-07-04 18:41:22 +02:00
|
|
|
|
2005-07-02 20:29:04 +02:00
|
|
|
#enable_bitmapscan = on
|
|
|
|
#enable_hashagg = on
|
|
|
|
#enable_hashjoin = on
|
|
|
|
#enable_indexscan = on
|
2011-10-08 02:13:02 +02:00
|
|
|
#enable_indexonlyscan = on
|
2010-04-19 02:55:26 +02:00
|
|
|
#enable_material = on
|
2005-07-02 20:29:04 +02:00
|
|
|
#enable_mergejoin = on
|
|
|
|
#enable_nestloop = on
|
|
|
|
#enable_seqscan = on
|
|
|
|
#enable_sort = on
|
|
|
|
#enable_tidscan = on
|
2003-07-04 18:41:22 +02:00
|
|
|
|
2003-07-18 21:16:03 +02:00
|
|
|
# - Planner Cost Constants -
|
2001-01-24 19:37:31 +01:00
|
|
|
|
2006-06-05 04:49:58 +02:00
|
|
|
#seq_page_cost = 1.0 # measured on an arbitrary scale
|
|
|
|
#random_page_cost = 4.0 # same scale as above
|
|
|
|
#cpu_tuple_cost = 0.01 # same scale as above
|
2006-06-05 05:03:42 +02:00
|
|
|
#cpu_index_tuple_cost = 0.005 # same scale as above
|
2006-06-05 04:49:58 +02:00
|
|
|
#cpu_operator_cost = 0.0025 # same scale as above
|
2006-09-26 00:12:24 +02:00
|
|
|
#effective_cache_size = 128MB
|
2001-01-24 19:37:31 +01:00
|
|
|
|
2003-07-18 21:16:03 +02:00
|
|
|
# - Genetic Query Optimizer -
|
2001-01-24 19:37:31 +01:00
|
|
|
|
2005-07-02 20:29:04 +02:00
|
|
|
#geqo = on
|
2004-01-24 00:54:21 +01:00
|
|
|
#geqo_threshold = 12
|
2005-08-19 03:55:18 +02:00
|
|
|
#geqo_effort = 5 # range 1-10
|
|
|
|
#geqo_pool_size = 0 # selects default based on effort
|
|
|
|
#geqo_generations = 0 # selects default based on effort
|
|
|
|
#geqo_selection_bias = 2.0 # range 1.5-2.0
|
2009-07-16 22:55:44 +02:00
|
|
|
#geqo_seed = 0.0 # range 0.0-1.0
|
2001-01-24 19:37:31 +01:00
|
|
|
|
2003-07-18 21:16:03 +02:00
|
|
|
# - Other Planner Options -
|
2003-07-04 18:41:22 +02:00
|
|
|
|
2008-12-13 20:13:44 +01:00
|
|
|
#default_statistics_target = 100 # range 1-10000
|
2009-01-07 23:40:49 +01:00
|
|
|
#constraint_exclusion = partition # on, off, or partition
|
2008-05-02 23:26:10 +02:00
|
|
|
#cursor_tuple_fraction = 0.1 # range 0.0-1.0
|
2003-07-04 18:41:22 +02:00
|
|
|
#from_collapse_limit = 8
|
2010-11-23 21:27:50 +01:00
|
|
|
#join_collapse_limit = 8 # 1 disables collapsing of explicit
|
2007-12-07 17:44:56 +01:00
|
|
|
# JOIN clauses
|
2003-07-04 18:41:22 +02:00
|
|
|
|
|
|
|
|
2007-12-07 17:44:56 +01:00
|
|
|
#------------------------------------------------------------------------------
|
2003-07-04 18:41:22 +02:00
|
|
|
# ERROR REPORTING AND LOGGING
|
2007-12-07 17:44:56 +01:00
|
|
|
#------------------------------------------------------------------------------
|
2003-07-18 21:16:03 +02:00
|
|
|
|
2004-04-05 05:02:11 +02:00
|
|
|
# - Where to Log -
|
2003-07-04 18:41:22 +02:00
|
|
|
|
2007-12-07 17:44:56 +01:00
|
|
|
#log_destination = 'stderr' # Valid values are combinations of
|
2010-03-30 02:11:45 +02:00
|
|
|
# stderr, csvlog, syslog, and eventlog,
|
2007-12-07 17:44:56 +01:00
|
|
|
# depending on platform. csvlog
|
|
|
|
# requires logging_collector to be on.
|
2004-08-06 01:32:13 +02:00
|
|
|
|
2005-07-02 20:29:04 +02:00
|
|
|
# This is used when logging to stderr:
|
2007-12-07 17:44:56 +01:00
|
|
|
#logging_collector = off # Enable capturing of stderr and csvlog
|
|
|
|
# into log files. Required to be on for
|
|
|
|
# csvlogs.
|
2006-07-24 12:44:40 +02:00
|
|
|
# (change requires restart)
|
2005-07-02 20:29:04 +02:00
|
|
|
|
2007-08-19 03:41:25 +02:00
|
|
|
# These are only used if logging_collector is on:
|
2007-12-07 17:44:56 +01:00
|
|
|
#log_directory = 'pg_log' # directory where log files are written,
|
|
|
|
# can be absolute or relative to PGDATA
|
|
|
|
#log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log' # log file name pattern,
|
|
|
|
# can include strftime() escapes
|
2010-07-17 00:25:51 +02:00
|
|
|
#log_file_mode = 0600 # creation mode for log files,
|
|
|
|
# begin with 0 to use octal notation
|
2010-10-08 21:10:06 +02:00
|
|
|
#log_truncate_on_rotation = off # If on, an existing log file with the
|
2007-12-07 17:44:56 +01:00
|
|
|
# same name as the new log file will be
|
|
|
|
# truncated rather than appended to.
|
|
|
|
# But such truncation only occurs on
|
2005-08-19 03:55:18 +02:00
|
|
|
# time-driven rotation, not on restarts
|
2007-12-07 17:44:56 +01:00
|
|
|
# or size-driven rotation. Default is
|
2005-08-19 03:55:18 +02:00
|
|
|
# off, meaning append to existing files
|
|
|
|
# in all cases.
|
2007-12-07 17:44:56 +01:00
|
|
|
#log_rotation_age = 1d # Automatic rotation of logfiles will
|
2009-04-08 00:22:19 +02:00
|
|
|
# happen after that time. 0 disables.
|
2010-11-23 21:27:50 +01:00
|
|
|
#log_rotation_size = 10MB # Automatic rotation of logfiles will
|
2007-12-07 17:44:56 +01:00
|
|
|
# happen after that much log output.
|
2009-04-08 00:22:19 +02:00
|
|
|
# 0 disables.
|
2004-08-06 01:32:13 +02:00
|
|
|
|
|
|
|
# These are relevant when logging to syslog:
|
2003-07-04 18:41:22 +02:00
|
|
|
#syslog_facility = 'LOCAL0'
|
|
|
|
#syslog_ident = 'postgres'
|
|
|
|
|
2011-10-25 20:02:55 +02:00
|
|
|
# This is only relevant when logging to eventlog (win32):
|
|
|
|
#event_source = 'PostgreSQL'
|
2004-08-06 01:32:13 +02:00
|
|
|
|
2003-07-18 21:16:03 +02:00
|
|
|
# - When to Log -
|
2001-01-24 19:37:31 +01:00
|
|
|
|
2007-12-07 17:44:56 +01:00
|
|
|
#client_min_messages = notice # values in order of decreasing detail:
|
2005-08-19 03:55:18 +02:00
|
|
|
# debug5
|
|
|
|
# debug4
|
|
|
|
# debug3
|
|
|
|
# debug2
|
|
|
|
# debug1
|
|
|
|
# log
|
|
|
|
# notice
|
|
|
|
# warning
|
|
|
|
# error
|
|
|
|
|
2008-03-10 04:22:29 +01:00
|
|
|
#log_min_messages = warning # values in order of decreasing detail:
|
2005-08-19 03:55:18 +02:00
|
|
|
# debug5
|
|
|
|
# debug4
|
|
|
|
# debug3
|
|
|
|
# debug2
|
|
|
|
# debug1
|
|
|
|
# info
|
|
|
|
# notice
|
|
|
|
# warning
|
|
|
|
# error
|
|
|
|
# log
|
|
|
|
# fatal
|
|
|
|
# panic
|
|
|
|
|
2007-12-07 17:44:56 +01:00
|
|
|
#log_min_error_statement = error # values in order of decreasing detail:
|
2005-08-19 03:55:18 +02:00
|
|
|
# debug5
|
|
|
|
# debug4
|
|
|
|
# debug3
|
|
|
|
# debug2
|
|
|
|
# debug1
|
|
|
|
# info
|
|
|
|
# notice
|
|
|
|
# warning
|
|
|
|
# error
|
2007-03-03 00:37:23 +01:00
|
|
|
# log
|
2006-11-21 02:23:37 +01:00
|
|
|
# fatal
|
|
|
|
# panic (effectively off)
|
2006-05-11 21:15:36 +02:00
|
|
|
|
2009-04-06 23:00:52 +02:00
|
|
|
#log_min_duration_statement = -1 # -1 is disabled, 0 logs all statements
|
2007-03-03 00:37:23 +01:00
|
|
|
# and their durations, > 0 logs only
|
2009-04-06 23:00:52 +02:00
|
|
|
# statements running at least this number
|
|
|
|
# of milliseconds
|
2007-03-03 00:37:23 +01:00
|
|
|
|
2003-07-04 18:41:22 +02:00
|
|
|
|
2003-07-18 21:16:03 +02:00
|
|
|
# - What to Log -
|
2003-07-04 18:41:22 +02:00
|
|
|
|
2005-07-02 20:29:04 +02:00
|
|
|
#debug_print_parse = off
|
|
|
|
#debug_print_rewritten = off
|
|
|
|
#debug_print_plan = off
|
2008-08-19 20:30:04 +02:00
|
|
|
#debug_pretty_print = on
|
2007-06-30 21:12:02 +02:00
|
|
|
#log_checkpoints = off
|
2005-07-02 20:29:04 +02:00
|
|
|
#log_connections = off
|
|
|
|
#log_disconnections = off
|
|
|
|
#log_duration = off
|
2010-02-16 22:35:51 +01:00
|
|
|
#log_error_verbosity = default # terse, default, or verbose messages
|
2007-06-30 21:12:02 +02:00
|
|
|
#log_hostname = off
|
2007-12-07 17:44:56 +01:00
|
|
|
#log_line_prefix = '' # special values:
|
2009-11-29 00:38:08 +01:00
|
|
|
# %a = application name
|
2005-08-19 03:55:18 +02:00
|
|
|
# %u = user name
|
|
|
|
# %d = database name
|
|
|
|
# %r = remote host and port
|
|
|
|
# %h = remote host
|
2007-12-07 17:44:56 +01:00
|
|
|
# %p = process ID
|
|
|
|
# %t = timestamp without milliseconds
|
2005-08-19 03:55:18 +02:00
|
|
|
# %m = timestamp with milliseconds
|
|
|
|
# %i = command tag
|
2009-07-03 21:14:25 +02:00
|
|
|
# %e = SQL state
|
2007-12-07 17:44:56 +01:00
|
|
|
# %c = session ID
|
2005-08-19 03:55:18 +02:00
|
|
|
# %l = session line number
|
|
|
|
# %s = session start timestamp
|
2007-12-07 17:44:56 +01:00
|
|
|
# %v = virtual transaction ID
|
|
|
|
# %x = transaction ID (0 if none)
|
|
|
|
# %q = stop here in non-session
|
2005-08-19 03:55:18 +02:00
|
|
|
# processes
|
|
|
|
# %% = '%'
|
|
|
|
# e.g. '<%u%%%d> '
|
2007-12-07 17:44:56 +01:00
|
|
|
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
2006-08-02 23:48:43 +02:00
|
|
|
#log_statement = 'none' # none, ddl, mod, all
|
2007-12-07 17:44:56 +01:00
|
|
|
#log_temp_files = -1 # log temporary files equal or larger
|
2009-04-06 23:00:52 +02:00
|
|
|
# than the specified size in kilobytes;
|
2007-12-07 17:44:56 +01:00
|
|
|
# -1 disables, 0 logs all temp files
|
2011-09-09 23:59:11 +02:00
|
|
|
#log_timezone = 'GMT'
|
2007-12-07 17:44:56 +01:00
|
|
|
|
2003-07-18 21:16:03 +02:00
|
|
|
|
2007-12-07 17:44:56 +01:00
|
|
|
#------------------------------------------------------------------------------
|
2003-07-04 18:41:22 +02:00
|
|
|
# RUNTIME STATISTICS
|
2007-12-07 17:44:56 +01:00
|
|
|
#------------------------------------------------------------------------------
|
2003-07-18 21:16:03 +02:00
|
|
|
|
|
|
|
# - Query/Index Statistics Collector -
|
2001-01-24 19:37:31 +01:00
|
|
|
|
2007-09-24 05:12:23 +02:00
|
|
|
#track_activities = on
|
|
|
|
#track_counts = on
|
2012-04-29 22:23:54 +02:00
|
|
|
#track_io_timing = off
|
2008-05-15 02:17:41 +02:00
|
|
|
#track_functions = none # none, pl, all
|
2010-09-27 15:14:14 +02:00
|
|
|
#track_activity_query_size = 1024 # (change requires restart)
|
2006-06-28 00:16:44 +02:00
|
|
|
#update_process_title = on
|
2008-08-15 10:37:41 +02:00
|
|
|
#stats_temp_directory = 'pg_stat_tmp'
|
2006-06-28 00:16:44 +02:00
|
|
|
|
|
|
|
|
2006-06-19 03:51:22 +02:00
|
|
|
# - Statistics Monitoring -
|
|
|
|
|
|
|
|
#log_parser_stats = off
|
|
|
|
#log_planner_stats = off
|
|
|
|
#log_executor_stats = off
|
|
|
|
#log_statement_stats = off
|
|
|
|
|
2001-07-05 17:19:40 +02:00
|
|
|
|
2007-12-07 17:44:56 +01:00
|
|
|
#------------------------------------------------------------------------------
|
2005-07-14 07:13:45 +02:00
|
|
|
# AUTOVACUUM PARAMETERS
|
2007-12-07 17:44:56 +01:00
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
|
2010-11-23 21:27:50 +01:00
|
|
|
#autovacuum = on # Enable autovacuum subprocess? 'on'
|
2007-12-07 17:44:56 +01:00
|
|
|
# requires track_counts to also be on.
|
|
|
|
#log_autovacuum_min_duration = -1 # -1 disables, 0 logs all actions and
|
|
|
|
# their durations, > 0 logs only
|
2009-04-06 23:00:52 +02:00
|
|
|
# actions running at least this number
|
|
|
|
# of milliseconds.
|
2007-12-07 17:44:56 +01:00
|
|
|
#autovacuum_max_workers = 3 # max number of autovacuum subprocesses
|
2010-09-27 15:14:14 +02:00
|
|
|
# (change requires restart)
|
2007-09-24 05:12:23 +02:00
|
|
|
#autovacuum_naptime = 1min # time between autovacuum runs
|
2007-12-07 17:44:56 +01:00
|
|
|
#autovacuum_vacuum_threshold = 50 # min number of row updates before
|
2005-08-19 03:55:18 +02:00
|
|
|
# vacuum
|
2010-11-23 21:27:50 +01:00
|
|
|
#autovacuum_analyze_threshold = 50 # min number of row updates before
|
2005-08-19 03:55:18 +02:00
|
|
|
# analyze
|
2007-12-07 17:44:56 +01:00
|
|
|
#autovacuum_vacuum_scale_factor = 0.2 # fraction of table size before vacuum
|
|
|
|
#autovacuum_analyze_scale_factor = 0.1 # fraction of table size before analyze
|
Fix recently-understood problems with handling of XID freezing, particularly
in PITR scenarios. We now WAL-log the replacement of old XIDs with
FrozenTransactionId, so that such replacement is guaranteed to propagate to
PITR slave databases. Also, rather than relying on hint-bit updates to be
preserved, pg_clog is not truncated until all instances of an XID are known to
have been replaced by FrozenTransactionId. Add new GUC variables and
pg_autovacuum columns to allow management of the freezing policy, so that
users can trade off the size of pg_clog against the amount of freezing work
done. Revise the already-existing code that forces autovacuum of tables
approaching the wraparound point to make it more bulletproof; also, revise the
autovacuum logic so that anti-wraparound vacuuming is done per-table rather
than per-database. initdb forced because of changes in pg_class, pg_database,
and pg_autovacuum catalogs. Heikki Linnakangas, Simon Riggs, and Tom Lane.
2006-11-05 23:42:10 +01:00
|
|
|
#autovacuum_freeze_max_age = 200000000 # maximum XID age before forced vacuum
|
|
|
|
# (change requires restart)
|
2009-04-06 23:00:52 +02:00
|
|
|
#autovacuum_vacuum_cost_delay = 20ms # default vacuum cost delay for
|
|
|
|
# autovacuum, in milliseconds;
|
|
|
|
# -1 means use vacuum_cost_delay
|
2007-12-07 17:44:56 +01:00
|
|
|
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
|
2006-09-22 19:41:21 +02:00
|
|
|
# autovacuum, -1 means use
|
2005-08-19 03:55:18 +02:00
|
|
|
# vacuum_cost_limit
|
2005-07-14 07:13:45 +02:00
|
|
|
|
|
|
|
|
2007-12-07 17:44:56 +01:00
|
|
|
#------------------------------------------------------------------------------
|
2003-07-04 18:41:22 +02:00
|
|
|
# CLIENT CONNECTION DEFAULTS
|
2007-12-07 17:44:56 +01:00
|
|
|
#------------------------------------------------------------------------------
|
2003-07-18 21:16:03 +02:00
|
|
|
|
|
|
|
# - Statement Behavior -
|
2003-07-04 18:41:22 +02:00
|
|
|
|
2005-12-23 01:38:04 +01:00
|
|
|
#search_path = '"$user",public' # schema names
|
2007-12-07 17:44:56 +01:00
|
|
|
#default_tablespace = '' # a tablespace name, '' uses the default
|
|
|
|
#temp_tablespaces = '' # a list of tablespace names, '' uses
|
|
|
|
# only default tablespace
|
2005-07-02 20:29:04 +02:00
|
|
|
#check_function_bodies = on
|
2003-07-04 18:41:22 +02:00
|
|
|
#default_transaction_isolation = 'read committed'
|
2005-07-02 20:29:04 +02:00
|
|
|
#default_transaction_read_only = off
|
Implement genuine serializable isolation level.
Until now, our Serializable mode has in fact been what's called Snapshot
Isolation, which allows some anomalies that could not occur in any
serialized ordering of the transactions. This patch fixes that using a
method called Serializable Snapshot Isolation, based on research papers by
Michael J. Cahill (see README-SSI for full references). In Serializable
Snapshot Isolation, transactions run like they do in Snapshot Isolation,
but a predicate lock manager observes the reads and writes performed and
aborts transactions if it detects that an anomaly might occur. This method
produces some false positives, ie. it sometimes aborts transactions even
though there is no anomaly.
To track reads we implement predicate locking, see storage/lmgr/predicate.c.
Whenever a tuple is read, a predicate lock is acquired on the tuple. Shared
memory is finite, so when a transaction takes many tuple-level locks on a
page, the locks are promoted to a single page-level lock, and further to a
single relation level lock if necessary. To lock key values with no matching
tuple, a sequential scan always takes a relation-level lock, and an index
scan acquires a page-level lock that covers the search key, whether or not
there are any matching keys at the moment.
A predicate lock doesn't conflict with any regular locks or with another
predicate locks in the normal sense. They're only used by the predicate lock
manager to detect the danger of anomalies. Only serializable transactions
participate in predicate locking, so there should be no extra overhead for
for other transactions.
Predicate locks can't be released at commit, but must be remembered until
all the transactions that overlapped with it have completed. That means that
we need to remember an unbounded amount of predicate locks, so we apply a
lossy but conservative method of tracking locks for committed transactions.
If we run short of shared memory, we overflow to a new "pg_serial" SLRU
pool.
We don't currently allow Serializable transactions in Hot Standby mode.
That would be hard, because even read-only transactions can cause anomalies
that wouldn't otherwise occur.
Serializable isolation mode now means the new fully serializable level.
Repeatable Read gives you the old Snapshot Isolation level that we have
always had.
Kevin Grittner and Dan Ports, reviewed by Jeff Davis, Heikki Linnakangas and
Anssi Kääriäinen
2011-02-07 22:46:51 +01:00
|
|
|
#default_transaction_deferrable = off
|
2008-01-27 20:12:28 +01:00
|
|
|
#session_replication_role = 'origin'
|
2009-04-06 23:00:52 +02:00
|
|
|
#statement_timeout = 0 # in milliseconds, 0 is disabled
|
2009-01-16 14:27:24 +01:00
|
|
|
#vacuum_freeze_min_age = 50000000
|
|
|
|
#vacuum_freeze_table_age = 150000000
|
2009-08-04 18:08:37 +02:00
|
|
|
#bytea_output = 'hex' # hex, escape
|
2007-01-25 12:53:52 +01:00
|
|
|
#xmlbinary = 'base64'
|
|
|
|
#xmloption = 'content'
|
2003-07-04 18:41:22 +02:00
|
|
|
|
2003-07-18 21:16:03 +02:00
|
|
|
# - Locale and Formatting -
|
2003-07-04 18:41:22 +02:00
|
|
|
|
2003-07-29 02:03:19 +02:00
|
|
|
#datestyle = 'iso, mdy'
|
2008-11-09 01:28:35 +01:00
|
|
|
#intervalstyle = 'postgres'
|
2011-09-09 23:59:11 +02:00
|
|
|
#timezone = 'GMT'
|
2007-12-07 17:44:56 +01:00
|
|
|
#timezone_abbreviations = 'Default' # Select the set of available time zone
|
|
|
|
# abbreviations. Currently, there are
|
2006-07-25 05:51:23 +02:00
|
|
|
# Default
|
|
|
|
# Australia
|
|
|
|
# India
|
2007-12-07 17:44:56 +01:00
|
|
|
# You can create your own file in
|
|
|
|
# share/timezonesets/.
|
2009-09-11 21:17:04 +02:00
|
|
|
#extra_float_digits = 0 # min -15, max 3
|
2005-08-19 03:55:18 +02:00
|
|
|
#client_encoding = sql_ascii # actually, defaults to database
|
|
|
|
# encoding
|
2003-07-04 18:41:22 +02:00
|
|
|
|
2007-12-07 17:44:56 +01:00
|
|
|
# These settings are initialized by initdb, but they can be changed.
|
|
|
|
#lc_messages = 'C' # locale for system error message
|
2005-08-19 03:55:18 +02:00
|
|
|
# strings
|
|
|
|
#lc_monetary = 'C' # locale for monetary formatting
|
|
|
|
#lc_numeric = 'C' # locale for number formatting
|
|
|
|
#lc_time = 'C' # locale for time formatting
|
2003-07-04 18:41:22 +02:00
|
|
|
|
2007-08-21 03:11:32 +02:00
|
|
|
# default configuration for text search
|
|
|
|
#default_text_search_config = 'pg_catalog.simple'
|
|
|
|
|
2003-07-18 21:16:03 +02:00
|
|
|
# - Other Defaults -
|
2003-07-04 18:41:22 +02:00
|
|
|
|
|
|
|
#dynamic_library_path = '$libdir'
|
2006-08-15 20:26:59 +02:00
|
|
|
#local_preload_libraries = ''
|
2003-07-04 18:41:22 +02:00
|
|
|
|
2003-07-18 21:16:03 +02:00
|
|
|
|
2007-12-07 17:44:56 +01:00
|
|
|
#------------------------------------------------------------------------------
|
2003-07-04 18:41:22 +02:00
|
|
|
# LOCK MANAGEMENT
|
2007-12-07 17:44:56 +01:00
|
|
|
#------------------------------------------------------------------------------
|
2003-07-04 18:41:22 +02:00
|
|
|
|
2006-09-22 19:41:21 +02:00
|
|
|
#deadlock_timeout = 1s
|
2005-08-30 02:58:48 +02:00
|
|
|
#max_locks_per_transaction = 64 # min 10
|
2006-07-24 12:44:40 +02:00
|
|
|
# (change requires restart)
|
2007-12-07 17:44:56 +01:00
|
|
|
# Note: Each lock table slot uses ~270 bytes of shared memory, and there are
|
2005-08-30 02:58:48 +02:00
|
|
|
# max_locks_per_transaction * (max_connections + max_prepared_transactions)
|
|
|
|
# lock table slots.
|
2011-02-15 14:00:04 +01:00
|
|
|
#max_pred_locks_per_transaction = 64 # min 10
|
Implement genuine serializable isolation level.
Until now, our Serializable mode has in fact been what's called Snapshot
Isolation, which allows some anomalies that could not occur in any
serialized ordering of the transactions. This patch fixes that using a
method called Serializable Snapshot Isolation, based on research papers by
Michael J. Cahill (see README-SSI for full references). In Serializable
Snapshot Isolation, transactions run like they do in Snapshot Isolation,
but a predicate lock manager observes the reads and writes performed and
aborts transactions if it detects that an anomaly might occur. This method
produces some false positives, ie. it sometimes aborts transactions even
though there is no anomaly.
To track reads we implement predicate locking, see storage/lmgr/predicate.c.
Whenever a tuple is read, a predicate lock is acquired on the tuple. Shared
memory is finite, so when a transaction takes many tuple-level locks on a
page, the locks are promoted to a single page-level lock, and further to a
single relation level lock if necessary. To lock key values with no matching
tuple, a sequential scan always takes a relation-level lock, and an index
scan acquires a page-level lock that covers the search key, whether or not
there are any matching keys at the moment.
A predicate lock doesn't conflict with any regular locks or with another
predicate locks in the normal sense. They're only used by the predicate lock
manager to detect the danger of anomalies. Only serializable transactions
participate in predicate locking, so there should be no extra overhead for
for other transactions.
Predicate locks can't be released at commit, but must be remembered until
all the transactions that overlapped with it have completed. That means that
we need to remember an unbounded amount of predicate locks, so we apply a
lossy but conservative method of tracking locks for committed transactions.
If we run short of shared memory, we overflow to a new "pg_serial" SLRU
pool.
We don't currently allow Serializable transactions in Hot Standby mode.
That would be hard, because even read-only transactions can cause anomalies
that wouldn't otherwise occur.
Serializable isolation mode now means the new fully serializable level.
Repeatable Read gives you the old Snapshot Isolation level that we have
always had.
Kevin Grittner and Dan Ports, reviewed by Jeff Davis, Heikki Linnakangas and
Anssi Kääriäinen
2011-02-07 22:46:51 +01:00
|
|
|
# (change requires restart)
|
2003-07-04 18:41:22 +02:00
|
|
|
|
2012-05-14 03:14:35 +02:00
|
|
|
|
2007-12-07 17:44:56 +01:00
|
|
|
#------------------------------------------------------------------------------
|
2003-07-04 18:41:22 +02:00
|
|
|
# VERSION/PLATFORM COMPATIBILITY
|
2007-12-07 17:44:56 +01:00
|
|
|
#------------------------------------------------------------------------------
|
2003-07-18 21:16:03 +02:00
|
|
|
|
2007-12-07 17:44:56 +01:00
|
|
|
# - Previous PostgreSQL Versions -
|
2003-07-04 18:41:22 +02:00
|
|
|
|
2005-11-17 23:14:56 +01:00
|
|
|
#array_nulls = on
|
2006-05-21 22:10:42 +02:00
|
|
|
#backslash_quote = safe_encoding # on, off, or safe_encoding
|
2005-07-02 20:29:04 +02:00
|
|
|
#default_with_oids = off
|
2006-05-11 21:15:36 +02:00
|
|
|
#escape_string_warning = on
|
2009-12-11 04:34:57 +01:00
|
|
|
#lo_compat_privileges = off
|
2010-07-22 03:22:35 +02:00
|
|
|
#quote_all_identifiers = off
|
2005-11-17 23:14:56 +01:00
|
|
|
#sql_inheritance = on
|
2010-07-20 02:34:44 +02:00
|
|
|
#standard_conforming_strings = on
|
2008-01-30 19:35:55 +01:00
|
|
|
#synchronize_seqscans = on
|
2003-07-04 18:41:22 +02:00
|
|
|
|
2007-12-07 17:44:56 +01:00
|
|
|
# - Other Platforms and Clients -
|
2003-07-04 18:41:22 +02:00
|
|
|
|
2005-07-02 20:29:04 +02:00
|
|
|
#transform_null_equals = off
|
2005-08-21 05:39:37 +02:00
|
|
|
|
|
|
|
|
2010-07-20 02:47:53 +02:00
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
# ERROR HANDLING
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
|
2012-01-24 16:40:47 +01:00
|
|
|
#exit_on_error = off # terminate session on any error?
|
|
|
|
#restart_after_crash = on # reinitialize after backend crash?
|
2010-07-20 02:47:53 +02:00
|
|
|
|
2012-09-24 16:55:53 +02:00
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
# CONFIG FILE INCLUDES
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
# These options allow settings to be loaded from files other than the
|
|
|
|
# default postgresql.conf
|
|
|
|
|
|
|
|
#include_dir = 'conf.d' # include files ending in '.conf' from
|
|
|
|
# directory 'conf.d'
|
|
|
|
#include_if_exists = 'exists.conf' # include file only if it exists
|
|
|
|
#include = 'special.conf' # include file
|
2010-07-20 02:47:53 +02:00
|
|
|
|
2007-12-07 17:44:56 +01:00
|
|
|
#------------------------------------------------------------------------------
|
2005-08-21 05:39:37 +02:00
|
|
|
# CUSTOMIZED OPTIONS
|
2007-12-07 17:44:56 +01:00
|
|
|
#------------------------------------------------------------------------------
|
2005-08-21 05:39:37 +02:00
|
|
|
|
2011-10-04 18:36:18 +02:00
|
|
|
# Add settings for extensions here
|