Advertisement
Guest User

pgsql92

a guest
Mar 31st, 2014
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 27.59 KB | None | 0 0
  1. <code lang="bash">
  2. # -----------------------------
  3. # PostgreSQL configuration file
  4. # -----------------------------
  5. #
  6. # This file consists of lines of the form:
  7. #
  8. #   name = value
  9. #
  10. # (The "=" is optional.)  Whitespace may be used.  Comments are introduced with
  11. # "#" anywhere on a line.  The complete list of parameter names and allowed
  12. # values can be found in the PostgreSQL documentation.
  13. #
  14. # The commented-out settings shown in this file represent the default values.
  15. # Re-commenting a setting is NOT sufficient to revert it to the default value;
  16. # you need to reload the server.
  17. #
  18. # This file is read on server startup and when the server receives a SIGHUP
  19. # signal.  If you edit the file on a running system, you have to SIGHUP the
  20. # server for the changes to take effect, or use "pg_ctl reload".  Some
  21. # parameters, which are marked below, require a server shutdown and restart to
  22. # take effect.
  23. #
  24. # Any parameter can also be given as a command-line option to the server, e.g.,
  25. # "postgres -c log_connections=on".  Some parameters can be changed at run time
  26. # with the "SET" SQL command.
  27. #
  28. # Memory units:  kB = kilobytes        Time units:  ms  = milliseconds
  29. #                MB = megabytes                     s   = seconds
  30. #                GB = gigabytes                     min = minutes
  31. #                                                   h   = hours
  32. #                                                   d   = days
  33.  
  34.  
  35. #------------------------------------------------------------------------------
  36. # FILE LOCATIONS
  37. #------------------------------------------------------------------------------
  38.  
  39. # The default values of these variables are driven from the -D command-line
  40. # option or PGDATA environment variable, represented here as ConfigDir.
  41.  
  42. data_directory = '/var/lib/postgresql/9.2/main'         # use data in another directory
  43.                                         # (change requires restart)
  44. hba_file = '/etc/postgresql/9.2/main/pg_hba.conf'       # host-based authentication file
  45.                                         # (change requires restart)
  46. ident_file = '/etc/postgresql/9.2/main/pg_ident.conf'   # ident configuration file
  47.                                         # (change requires restart)
  48.  
  49. # If external_pid_file is not explicitly set, no extra PID file is written.
  50. external_pid_file = '/var/run/postgresql/9.2-main.pid'                  # write an extra PID file
  51.                                         # (change requires restart)
  52.  
  53.  
  54. #------------------------------------------------------------------------------
  55. # CONNECTIONS AND AUTHENTICATION
  56. #------------------------------------------------------------------------------
  57.  
  58. # - Connection Settings -
  59. listen_addresses = '0.0.0.0'
  60. #listen_addresses = 'localhost'         # what IP address(es) to listen on;
  61.                                         # comma-separated list of addresses;
  62.                                         # defaults to 'localhost'; use '*' for all
  63.                                         # (change requires restart)
  64. port = 5432                             # (change requires restart)
  65. max_connections = 1000                  # (change requires restart)
  66. # Note:  Increasing max_connections costs ~400 bytes of shared memory per
  67. # connection slot, plus lock space (see max_locks_per_transaction).
  68. #superuser_reserved_connections = 3     # (change requires restart)
  69. unix_socket_directory = '/var/run/postgresql'           # (change requires restart)
  70. #unix_socket_group = ''                 # (change requires restart)
  71. #unix_socket_permissions = 0777         # begin with 0 to use octal notation
  72.                                         # (change requires restart)
  73. #bonjour = off                          # advertise server via Bonjour
  74.                                         # (change requires restart)
  75. #bonjour_name = ''                      # defaults to the computer name
  76.                                         # (change requires restart)
  77.  
  78. # - Security and Authentication -
  79.  
  80. #authentication_timeout = 1min          # 1s-600s
  81. ssl = true                              # (change requires restart)
  82. #ssl_ciphers = 'ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH'      # allowed SSL ciphers
  83.                                         # (change requires restart)
  84. #ssl_renegotiation_limit = 512MB        # amount of data between renegotiations
  85. ssl_cert_file = '/etc/ssl/certs/ssl-cert-snakeoil.pem'          # (change requires restart)
  86. ssl_key_file = '/etc/ssl/private/ssl-cert-snakeoil.key'         # (change requires restart)
  87. #ssl_ca_file = ''                       # (change requires restart)
  88. #ssl_crl_file = ''                      # (change requires restart)
  89. #password_encryption = on
  90. #db_user_namespace = off
  91.  
  92. # Kerberos and GSSAPI
  93. #krb_server_keyfile = ''
  94. #krb_srvname = 'postgres'               # (Kerberos only)
  95. #krb_caseins_users = off
  96.  
  97. # - TCP Keepalives -
  98. # see "man 7 tcp" for details
  99.  
  100. #tcp_keepalives_idle = 0                # TCP_KEEPIDLE, in seconds;
  101.                                         # 0 selects the system default
  102. #tcp_keepalives_interval = 0            # TCP_KEEPINTVL, in seconds;
  103.                                         # 0 selects the system default
  104. #tcp_keepalives_count = 0               # TCP_KEEPCNT;
  105.                                         # 0 selects the system default
  106.  
  107.  
  108. #------------------------------------------------------------------------------
  109. # RESOURCE USAGE (except WAL)
  110. #------------------------------------------------------------------------------
  111.  
  112. # - Memory -
  113.  
  114. shared_buffers = 20480MB                        # min 128kB
  115.                                         # (change requires restart)
  116. #temp_buffers = 8MB                     # min 800kB
  117. #max_prepared_transactions = 0          # zero disables the feature
  118.                                         # (change requires restart)
  119. # Note:  Increasing max_prepared_transactions costs ~600 bytes of shared memory
  120. # per transaction slot, plus lock space (see max_locks_per_transaction).
  121. # It is not advisable to set max_prepared_transactions nonzero unless you
  122. # actively intend to use prepared transactions.
  123. work_mem = 64MB                         # min 64kB
  124. maintenance_work_mem = 1024MB           # min 1MB
  125. max_stack_depth = 4MB                   # min 100kB
  126.  
  127. # - Disk -
  128.  
  129. temp_file_limit = -1                    # limits per-session temp file space
  130.                                         # in kB, or -1 for no limit
  131.  
  132. # - Kernel Resource Usage -
  133.  
  134. #max_files_per_process = 1000           # min 25
  135.                                         # (change requires restart)
  136. #shared_preload_libraries = ''          # (change requires restart)
  137.  
  138. # - Cost-Based Vacuum Delay -
  139.  
  140. #vacuum_cost_delay = 0ms                # 0-100 milliseconds
  141. #vacuum_cost_page_hit = 1               # 0-10000 credits
  142. #vacuum_cost_page_miss = 10             # 0-10000 credits
  143. #vacuum_cost_page_dirty = 20            # 0-10000 credits
  144. #vacuum_cost_limit = 200                # 1-10000 credits
  145.  
  146. # - Background Writer -
  147.  
  148. #bgwriter_delay = 200ms                 # 10-10000ms between rounds
  149. #bgwriter_lru_maxpages = 100            # 0-1000 max buffers written/round
  150. #bgwriter_lru_multiplier = 2.0          # 0-10.0 multipler on buffers scanned/round
  151.  
  152. # - Asynchronous Behavior -
  153.  
  154. #effective_io_concurrency = 1           # 1-1000; 0 disables prefetching
  155.  
  156.  
  157. #------------------------------------------------------------------------------
  158. # WRITE AHEAD LOG
  159. #------------------------------------------------------------------------------
  160.  
  161. # - Settings -
  162. wal_level = hot_standby
  163. max_wal_senders = 2
  164. wal_keep_segments = 32
  165.  
  166. archive_mode = on
  167. #archive_command = 'cp %p /var/backup/%f'
  168.  
  169.  
  170.  
  171. #wal_level = minimal                    # minimal, archive, or hot_standby
  172.                                         # (change requires restart)
  173. #fsync = on                             # turns forced synchronization on or off
  174. #synchronous_commit = on                # synchronization level;
  175.                                         # off, local, remote_write, or on
  176. #wal_sync_method = fsync                # the default is the first option
  177.                                         # supported by the operating system:
  178.                                         #   open_datasync
  179.                                         #   fdatasync (default on Linux)
  180.                                         #   fsync
  181.                                         #   fsync_writethrough
  182.                                         #   open_sync
  183. #full_page_writes = on                  # recover from partial page writes
  184. #wal_buffers = -1                       # min 32kB, -1 sets based on shared_buffers
  185.                                         # (change requires restart)
  186. #wal_writer_delay = 200ms               # 1-10000 milliseconds
  187.  
  188. #commit_delay = 0                       # range 0-100000, in microseconds
  189. #commit_siblings = 5                    # range 1-1000
  190.  
  191. # - Checkpoints -
  192.  
  193. #checkpoint_segments = 3                # in logfile segments, min 1, 16MB each
  194. #checkpoint_timeout = 5min              # range 30s-1h
  195. #checkpoint_completion_target = 0.5     # checkpoint target duration, 0.0 - 1.0
  196. #checkpoint_warning = 30s               # 0 disables
  197.  
  198. # - Archiving -
  199.  
  200. #archive_mode = off             # allows archiving to be done
  201.                                 # (change requires restart)
  202. #archive_command = ''           # command to use to archive a logfile segment
  203.                                 # placeholders: %p = path of file to archive
  204.                                 #               %f = file name only
  205.                                 # e.g. 'test ! -f /mnt/server/archivedir/%f && cp %p /mnt/server/archivedir/%f'
  206. #archive_timeout = 0            # force a logfile segment switch after this
  207.                                 # number of seconds; 0 disables
  208.  
  209.  
  210. #------------------------------------------------------------------------------
  211. # REPLICATION
  212. #------------------------------------------------------------------------------
  213.  
  214. # - Sending Server(s) -
  215.  
  216. # Set these on the master and on any standby that will send replication data.
  217.  
  218. #max_wal_senders = 0            # max number of walsender processes
  219.                                 # (change requires restart)
  220. #wal_keep_segments = 0          # in logfile segments, 16MB each; 0 disables
  221. #replication_timeout = 60s      # in milliseconds; 0 disables
  222.  
  223. # - Master Server -
  224.  
  225. # These settings are ignored on a standby server.
  226.  
  227. #synchronous_standby_names = '' # standby servers that provide sync rep
  228.                                 # comma-separated list of application_name
  229.                                 # from standby(s); '*' = all
  230. #vacuum_defer_cleanup_age = 0   # number of xacts by which cleanup is delayed
  231.  
  232. # - Standby Servers -
  233.  
  234. # These settings are ignored on a master server.
  235.  
  236. hot_standby = on                        # "on" allows queries during recovery
  237.                                         # (change requires restart)
  238. #max_standby_archive_delay = 30s        # max delay before canceling queries
  239.                                         # when reading WAL from archive;
  240.                                         # -1 allows indefinite delay
  241. #max_standby_streaming_delay = 30s      # max delay before canceling queries
  242.                                         # when reading streaming WAL;
  243.                                         # -1 allows indefinite delay
  244. #wal_receiver_status_interval = 10s     # send replies at least this often
  245.                                         # 0 disables
  246. #hot_standby_feedback = off             # send info from standby to prevent
  247.                                         # query conflicts
  248.  
  249.  
  250. #------------------------------------------------------------------------------
  251. # QUERY TUNING
  252. #------------------------------------------------------------------------------
  253.  
  254. # - Planner Method Configuration -
  255.  
  256. enable_bitmapscan = on
  257. enable_hashagg = on
  258. enable_hashjoin = on
  259. enable_indexscan = on
  260. enable_indexonlyscan = on
  261. enable_material = on
  262. enable_mergejoin = on
  263. enable_nestloop = on
  264. enable_seqscan = on
  265. enable_sort = on
  266. enable_tidscan = on
  267.  
  268.  
  269.  
  270. #enable_bitmapscan = on
  271. #enable_hashagg = on
  272. #enable_hashjoin = on
  273. #enable_indexscan = on
  274. #enable_indexonlyscan = on
  275. #enable_material = on
  276. #enable_mergejoin = on
  277. #enable_nestloop = on
  278. #enable_seqscan = on
  279. #enable_sort = on
  280. #enable_tidscan = on
  281.  
  282. # - Planner Cost Constants -
  283.  
  284. seq_page_cost = 1.0                     # measured on an arbitrary scale
  285. random_page_cost = 2.0                  # same scale as above
  286. cpu_tuple_cost = 0.01                   # same scale as above
  287. cpu_index_tuple_cost = 0.005            # same scale as above
  288. cpu_operator_cost = 0.0025              # same scale as above
  289. effective_cache_size = 32768MB
  290.  
  291.  
  292.  
  293. #seq_page_cost = 1.0                    # measured on an arbitrary scale
  294. #random_page_cost = 4.0                 # same scale as above
  295. #cpu_tuple_cost = 0.01                  # same scale as above
  296. #cpu_index_tuple_cost = 0.005           # same scale as above
  297. #cpu_operator_cost = 0.0025             # same scale as above
  298. #effective_cache_size = 128MB
  299.  
  300. # - Genetic Query Optimizer -
  301.  
  302. geqo = on
  303. geqo_threshold = 12
  304. geqo_effort = 10                        # range 1-10
  305. geqo_pool_size = 0                      # selects default based on effort
  306. geqo_generations = 0                    # selects default based on effort
  307. geqo_selection_bias = 2.0               # range 1.5-2.0
  308. geqo_seed = 0.0                 # range 0.0-1.0
  309.  
  310.  
  311. #geqo = on
  312. #geqo_threshold = 12
  313. #geqo_effort = 5                        # range 1-10
  314. #geqo_pool_size = 0                     # selects default based on effort
  315. #geqo_generations = 0                   # selects default based on effort
  316. #geqo_selection_bias = 2.0              # range 1.5-2.0
  317. #geqo_seed = 0.0                        # range 0.0-1.0
  318.  
  319. # - Other Planner Options -
  320.  
  321. default_statistics_target = 300 # range 1-10000
  322. constraint_exclusion = partition        # on, off, or partition
  323. cursor_tuple_fraction = 0.1             # range 0.0-1.0
  324. from_collapse_limit = 8
  325. join_collapse_limit = 8         # 1 disables collapsing of explicit
  326.                                         # JOIN clauses
  327.  
  328.  
  329.  
  330. #default_statistics_target = 100        # range 1-10000
  331. #constraint_exclusion = partition       # on, off, or partition
  332. #cursor_tuple_fraction = 0.1            # range 0.0-1.0
  333. #from_collapse_limit = 8
  334. #join_collapse_limit = 8                # 1 disables collapsing of explicit
  335.                                         # JOIN clauses
  336.  
  337.  
  338. #------------------------------------------------------------------------------
  339. # ERROR REPORTING AND LOGGING
  340. #------------------------------------------------------------------------------
  341.  
  342. # - Where to Log -
  343.  
  344. #log_destination = 'stderr'             # Valid values are combinations of
  345.                                         # stderr, csvlog, syslog, and eventlog,
  346.                                         # depending on platform.  csvlog
  347.                                         # requires logging_collector to be on.
  348.  
  349. # This is used when logging to stderr:
  350. #logging_collector = off                # Enable capturing of stderr and csvlog
  351.                                         # into log files. Required to be on for
  352.                                         # csvlogs.
  353.                                         # (change requires restart)
  354.  
  355. # These are only used if logging_collector is on:
  356. #log_directory = 'pg_log'               # directory where log files are written,
  357.                                         # can be absolute or relative to PGDATA
  358. #log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log'        # log file name pattern,
  359.                                         # can include strftime() escapes
  360. #log_file_mode = 0600                   # creation mode for log files,
  361.                                         # begin with 0 to use octal notation
  362. #log_truncate_on_rotation = off         # If on, an existing log file with the
  363.                                         # same name as the new log file will be
  364.                                         # truncated rather than appended to.
  365.                                         # But such truncation only occurs on
  366.                                         # time-driven rotation, not on restarts
  367.                                         # or size-driven rotation.  Default is
  368.                                         # off, meaning append to existing files
  369.                                         # in all cases.
  370. #log_rotation_age = 1d                  # Automatic rotation of logfiles will
  371.                                         # happen after that time.  0 disables.
  372. #log_rotation_size = 10MB               # Automatic rotation of logfiles will
  373.                                         # happen after that much log output.
  374.                                         # 0 disables.
  375.  
  376. # These are relevant when logging to syslog:
  377. #syslog_facility = 'LOCAL0'
  378. #syslog_ident = 'postgres'
  379.  
  380. # This is only relevant when logging to eventlog (win32):
  381. #event_source = 'PostgreSQL'
  382.  
  383. # - When to Log -
  384.  
  385. #client_min_messages = notice           # values in order of decreasing detail:
  386.                                         #   debug5
  387.                                         #   debug4
  388.                                         #   debug3
  389.                                         #   debug2
  390.                                         #   debug1
  391.                                         #   log
  392.                                         #   notice
  393.                                         #   warning
  394.                                         #   error
  395.  
  396. #log_min_messages = warning             # values in order of decreasing detail:
  397.                                         #   debug5
  398.                                         #   debug4
  399.                                         #   debug3
  400.                                         #   debug2
  401.                                         #   debug1
  402.                                         #   info
  403.                                         #   notice
  404.                                         #   warning
  405.                                         #   error
  406.                                         #   log
  407.                                         #   fatal
  408.                                         #   panic
  409.  
  410. #log_min_error_statement = error        # values in order of decreasing detail:
  411.                                         #   debug5
  412.                                         #   debug4
  413.                                         #   debug3
  414.                                         #   debug2
  415.                                         #   debug1
  416.                                         #   info
  417.                                         #   notice
  418.                                         #   warning
  419.                                         #   error
  420.                                         #   log
  421.                                         #   fatal
  422.                                         #   panic (effectively off)
  423.  
  424. log_min_duration_statement = -1 # -1 is disabled, 0 logs all statements
  425.                                         # and their durations, > 0 logs only
  426.                                         # statements running at least this number
  427.                                         # of milliseconds
  428.  
  429.  
  430. # - What to Log -
  431.  
  432. #debug_print_parse = off
  433. #debug_print_rewritten = off
  434. #debug_print_plan = off
  435. #debug_pretty_print = on
  436. #log_checkpoints = off
  437. #log_connections = off
  438. #log_disconnections = off
  439. log_duration = off
  440. #log_error_verbosity = default          # terse, default, or verbose messages
  441. #log_hostname = off
  442. log_line_prefix = '%t '                 # special values:
  443.                                         #   %a = application name
  444.                                         #   %u = user name
  445.                                         #   %d = database name
  446.                                         #   %r = remote host and port
  447.                                         #   %h = remote host
  448.                                         #   %p = process ID
  449.                                         #   %t = timestamp without milliseconds
  450.                                         #   %m = timestamp with milliseconds
  451.                                         #   %i = command tag
  452.                                         #   %e = SQL state
  453.                                         #   %c = session ID
  454.                                         #   %l = session line number
  455.                                         #   %s = session start timestamp
  456.                                         #   %v = virtual transaction ID
  457.                                         #   %x = transaction ID (0 if none)
  458.                                         #   %q = stop here in non-session
  459.                                         #        processes
  460.                                         #   %% = '%'
  461.                                         # e.g. '<%u%%%d> '
  462. #log_lock_waits = off                   # log lock waits >= deadlock_timeout
  463. #log_statement = 'none'                 # none, ddl, mod, all
  464. #log_temp_files = -1                    # log temporary files equal or larger
  465.                                         # than the specified size in kilobytes;
  466.                                         # -1 disables, 0 logs all temp files
  467. log_timezone = 'W-SU'
  468.  
  469.  
  470. #------------------------------------------------------------------------------
  471. # RUNTIME STATISTICS
  472. #------------------------------------------------------------------------------
  473.  
  474. # - Query/Index Statistics Collector -
  475.  
  476. #track_activities = on
  477. #track_counts = on
  478. #track_io_timing = off
  479. #track_functions = none                 # none, pl, all
  480. #track_activity_query_size = 1024       # (change requires restart)
  481. #update_process_title = on
  482. #stats_temp_directory = 'pg_stat_tmp'
  483.  
  484.  
  485. # - Statistics Monitoring -
  486.  
  487. #log_parser_stats = off
  488. #log_planner_stats = off
  489. #log_executor_stats = off
  490. #log_statement_stats = off
  491.  
  492.  
  493. #------------------------------------------------------------------------------
  494. # AUTOVACUUM PARAMETERS
  495. #------------------------------------------------------------------------------
  496.  
  497. #autovacuum = on                        # Enable autovacuum subprocess?  'on'
  498.                                         # requires track_counts to also be on.
  499. #log_autovacuum_min_duration = -1       # -1 disables, 0 logs all actions and
  500.                                         # their durations, > 0 logs only
  501.                                         # actions running at least this number
  502.                                         # of milliseconds.
  503. #autovacuum_max_workers = 3             # max number of autovacuum subprocesses
  504.                                         # (change requires restart)
  505. #autovacuum_naptime = 1min              # time between autovacuum runs
  506. #autovacuum_vacuum_threshold = 50       # min number of row updates before
  507.                                         # vacuum
  508. #autovacuum_analyze_threshold = 50      # min number of row updates before
  509.                                         # analyze
  510. #autovacuum_vacuum_scale_factor = 0.2   # fraction of table size before vacuum
  511. #autovacuum_analyze_scale_factor = 0.1  # fraction of table size before analyze
  512. #autovacuum_freeze_max_age = 200000000  # maximum XID age before forced vacuum
  513.                                         # (change requires restart)
  514. #autovacuum_vacuum_cost_delay = 20ms    # default vacuum cost delay for
  515.                                         # autovacuum, in milliseconds;
  516.                                         # -1 means use vacuum_cost_delay
  517. #autovacuum_vacuum_cost_limit = -1      # default vacuum cost limit for
  518.                                         # autovacuum, -1 means use
  519.                                         # vacuum_cost_limit
  520.  
  521.  
  522. #------------------------------------------------------------------------------
  523. # CLIENT CONNECTION DEFAULTS
  524. #------------------------------------------------------------------------------
  525.  
  526. # - Statement Behavior -
  527.  
  528. #search_path = '"$user",public'         # schema names
  529. #default_tablespace = ''                # a tablespace name, '' uses the default
  530. #temp_tablespaces = ''                  # a list of tablespace names, '' uses
  531.                                         # only default tablespace
  532. #check_function_bodies = on
  533. #default_transaction_isolation = 'read committed'
  534. #default_transaction_read_only = off
  535. #default_transaction_deferrable = off
  536. #session_replication_role = 'origin'
  537. #statement_timeout = 0                  # in milliseconds, 0 is disabled
  538. #vacuum_freeze_min_age = 50000000
  539. #vacuum_freeze_table_age = 150000000
  540. #bytea_output = 'hex'                   # hex, escape
  541. #xmlbinary = 'base64'
  542. #xmloption = 'content'
  543.  
  544. # - Locale and Formatting -
  545.  
  546. datestyle = 'iso, mdy'
  547. #intervalstyle = 'postgres'
  548. timezone = 'W-SU'
  549. #timezone_abbreviations = 'Default'     # Select the set of available time zone
  550.                                         # abbreviations.  Currently, there are
  551.                                         #   Default
  552.                                         #   Australia
  553.                                         #   India
  554.                                         # You can create your own file in
  555.                                         # share/timezonesets/.
  556. #extra_float_digits = 0                 # min -15, max 3
  557. #client_encoding = sql_ascii            # actually, defaults to database
  558.                                         # encoding
  559.  
  560. # These settings are initialized by initdb, but they can be changed.
  561. lc_messages = 'en_US.UTF-8'                     # locale for system error message
  562.                                         # strings
  563. lc_monetary = 'en_US.UTF-8'                     # locale for monetary formatting
  564. lc_numeric = 'en_US.UTF-8'                      # locale for number formatting
  565. lc_time = 'en_US.UTF-8'                         # locale for time formatting
  566.  
  567. # default configuration for text search
  568. default_text_search_config = 'pg_catalog.english'
  569.  
  570. # - Other Defaults -
  571.  
  572. #dynamic_library_path = '$libdir'
  573. #local_preload_libraries = ''
  574.  
  575.  
  576. #------------------------------------------------------------------------------
  577. # LOCK MANAGEMENT
  578. #------------------------------------------------------------------------------
  579.  
  580. #deadlock_timeout = 1s
  581. #max_locks_per_transaction = 64         # min 10
  582.                                         # (change requires restart)
  583. # Note:  Each lock table slot uses ~270 bytes of shared memory, and there are
  584. # max_locks_per_transaction * (max_connections + max_prepared_transactions)
  585. # lock table slots.
  586. #max_pred_locks_per_transaction = 64    # min 10
  587.                                         # (change requires restart)
  588.  
  589.  
  590. #------------------------------------------------------------------------------
  591. # VERSION/PLATFORM COMPATIBILITY
  592. #------------------------------------------------------------------------------
  593.  
  594. # - Previous PostgreSQL Versions -
  595.  
  596. #array_nulls = on
  597. #backslash_quote = safe_encoding        # on, off, or safe_encoding
  598. #default_with_oids = off
  599. #escape_string_warning = on
  600. #lo_compat_privileges = off
  601. #quote_all_identifiers = off
  602. #sql_inheritance = on
  603. #standard_conforming_strings = on
  604. #synchronize_seqscans = on
  605.  
  606. # - Other Platforms and Clients -
  607.  
  608. #transform_null_equals = off
  609.  
  610.  
  611. #------------------------------------------------------------------------------
  612. # ERROR HANDLING
  613. #------------------------------------------------------------------------------
  614.  
  615. #exit_on_error = off                    # terminate session on any error?
  616. #restart_after_crash = on               # reinitialize after backend crash?
  617.  
  618.  
  619. #------------------------------------------------------------------------------
  620. # CUSTOMIZED OPTIONS
  621. #------------------------------------------------------------------------------
  622.  
  623. # Add settings for extensions here
  624.  
  625. </code>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement