http://blog.csdn.net/dyx1024/article/details/6629776
PostgreSQL配置文件的修改方法:
1. 配置文件所在路径:
- [postgres@kevin data]$ pwd
- /opt/postgresql/data
- [postgres@kevin data]$ ll
- 总用量 1332
- drwx------ 8 postgres dba 4096 7月 13 10:50 base
- drwx------ 2 postgres dba 4096 7月 19 03:42 global
- -rw------- 1 postgres dba 1181357 7月 17 16:17 gmon.out
- drwx------ 159 postgres dba 4096 7月 19 03:44 gprof
- drwx------ 2 postgres dba 4096 7月 9 09:42 pg_clog
- -rw------- 1 postgres dba 3755 7月 9 14:54 pg_hba.conf
- -rw------- 1 postgres dba 1631 7月 9 09:42 pg_ident.conf
- drwx------ 4 postgres dba 4096 7月 9 09:42 pg_multixact
- drwx------ 2 postgres dba 4096 7月 19 05:57 pg_stat_tmp
- drwx------ 2 postgres dba 4096 7月 9 09:42 pg_subtrans
- drwx------ 2 postgres dba 4096 7月 13 10:54 pg_tblspc
- drwx------ 2 postgres dba 4096 7月 9 09:42 pg_twophase
- -rw------- 1 postgres dba 4 7月 9 09:42 PG_VERSION
- drwx------ 3 postgres dba 4096 7月 9 09:42 pg_xlog
- -rw------- 1 postgres dba 16837 7月 9 14:52 postgresql.conf
- -rw------- 1 postgres dba 16815 7月 9 14:51 postgresql.conf_duanyx_bak
- -rw------- 1 postgres dba 29 7月 19 03:42 postmaster.opts
- -rw------- 1 postgres dba 46 7月 19 03:42 postmaster.pid
- [postgres@kevin data]$
2. SQL方式修改,可以在运行时设置,当然只有于部分选项,使用方法如下:
- kevin_test=# SET work_mem = '16MB';
- SET
- kevin_test=#
- kevin_test=# SELECT * FROM pg_settings WHERE source = 'session';
- -[ RECORD 1 ]-------------------------------------------------------------------
- --------------------------------------------------
- name | work_mem
- setting | 16384
- unit | kB
- category | Resource Usage / Memory
- short_desc | Sets the maximum memory to be used for query workspaces.
- extra_desc | This much memory can be used by each internal sort operation and ha
- sh table before switching to temporary disk files.
- context | user
- vartype | integer
- source | session
- min_val | 64
- max_val | 2097151
- enumvals |
- boot_val | 1024
- reset_val | 1024
- sourcefile |
- sourceline |
- kevin_test=#
恢复默认设置的方法:
- kevin_test=# RESET work_mem;
- RESET
- kevin_test=# SELECT * FROM pg_settings WHERE name = 'work_mem';
- -[ RECORD 1 ]---------------------------------------------------------------------------------------------------------------------
- name | work_mem
- setting | 1024
- unit | kB
- category | Resource Usage / Memory
- short_desc | Sets the maximum memory to be used for query workspaces.
- extra_desc | This much memory can be used by each internal sort operation and hash table before switching to temporary disk files.
- context | user
- vartype | integer
- source | default
- min_val | 64
- max_val | 2097151
- enumvals |
- boot_val | 1024
- reset_val | 1024
- sourcefile |
- sourceline |
- kevin_test=#
3.查看配置项的值,当然你可以看接查看postgre.conf文件的内容,不过最好使用SQL方法查看和修改,更为快速,当然你要先知道要查看的选项的名称。
- kevin_test=# SHOW work_mem;
- work_mem
- ----------
- 1MB
- (1 row)
- kevin_test=#
补充一下,如果确实不知道选项的名了,可以先查一下,这些均存储在pg_settings表中,呵呵,PostgreSQL的一个特点就在这,所有数据均由数据库自己维护。
- kevin_test=# SELECT name, short_desc FROM pg_settings;
- name | short_desc
- ---------------------------------+----------------------------------------------------------------------------------------------------------------------------
- ---
- add_missing_from | Automatically adds missing table references to FROM clauses.
- allow_system_table_mods | Allows modifications of the structure of system tables.
- archive_command | Sets the shell command that will be called to archive a WAL file.
- archive_mode | Allows archiving of WAL files using archive_command.
- archive_timeout | Forces a switch to the next xlog file if a new file has not been started within N seconds.
- array_nulls | Enable input of NULL elements in arrays.
- authentication_timeout | Sets the maximum allowed time to complete client authentication.
- autovacuum | Starts the autovacuum subprocess.
- autovacuum_analyze_scale_factor | Number of tuple inserts, updates or deletes prior to analyze as a fraction of reltuples.
- autovacuum_analyze_threshold | Minimum number of tuple inserts, updates or deletes prior to analyze.
- autovacuum_freeze_max_age | Age at which to autovacuum a table to prevent transaction ID wraparound.
- autovacuum_max_workers | Sets the maximum number of simultaneously running autovacuum worker processes.
- autovacuum_naptime | Time to sleep between autovacuum runs.
- autovacuum_vacuum_cost_delay | Vacuum cost delay in milliseconds, for autovacuum.
- autovacuum_vacuum_cost_limit | Vacuum cost amount available before napping, for autovacuum.
- autovacuum_vacuum_scale_factor | Number of tuple updates or deletes prior to vacuum as a fraction of reltuples.
- autovacuum_vacuum_threshold | Minimum number of tuple updates or deletes prior to vacuum.
- backslash_quote | Sets whether "\'" is allowed in string literals.
- bgwriter_delay | Background writer sleep time between rounds.
- bgwriter_lru_maxpages | Background writer maximum number of LRU pages to flush per round.
- bgwriter_lru_multiplier | Multiple of the average buffer usage to free per round.
- block_size | Shows the size of a disk block.
- bonjour_name | Sets the Bonjour broadcast service name.
- check_function_bodies | Check function bodies during CREATE FUNCTION.
- checkpoint_completion_target | Time spent flushing dirty buffers during checkpoint, as fraction of checkpoint interval.
- checkpoint_segments | Sets the maximum distance in log segments between automatic WAL checkpoints.
- checkpoint_timeout | Sets the maximum time between automatic WAL checkpoints.
- checkpoint_warning | Enables warnings if checkpoint segments are filled more frequently than this.
- client_encoding | Sets the client's character set encoding.
- client_min_messages | Sets the message levels that are sent to the client.
- commit_delay | Sets the delay in microseconds between transaction commit and flushing WAL to disk.
- commit_siblings | Sets the minimum concurrent open transactions before performing commit_delay.
- config_file | Sets the server's main configuration file.
- constraint_exclusion | Enables the planner to use constraints to optimize queries.
- cpu_index_tuple_cost | Sets the planner's estimate of the cost of processing each index entry during an index scan.
- cpu_operator_cost | Sets the planner's estimate of the cost of processing each operator or function call.
- cpu_tuple_cost | Sets the planner's estimate of the cost of processing each tuple (row).
- cursor_tuple_fraction | Sets the planner's estimate of the fraction of a cursor's rows that will be retrieved.
- custom_variable_classes | Sets the list of known custom variable classes.
- data_directory | Sets the server's data directory.
- DateStyle | Sets the display format for date and time values.
- db_user_namespace | Enables per-database user names.
- deadlock_timeout | Sets the time to wait on a lock before checking for deadlock.
- debug_assertions | Turns on various assertion checks.
- debug_pretty_print | Indents parse and plan tree displays.
- debug_print_parse | Logs each query's parse tree.
- debug_print_plan | Logs each query's execution plan.
- debug_print_rewritten | Logs each query's rewritten parse tree.
- default_statistics_target | Sets the default statistics target.
- default_tablespace | Sets the default tablespace to create tables and indexes in.
- default_text_search_config | Sets default text search configuration.
- default_transaction_isolation | Sets the transaction isolation level of each new transaction.
- default_transaction_read_only | Sets the default read-only status of new transactions.
- default_with_oids | Create new tables with OIDs by default.
- dynamic_library_path | Sets the path for dynamically loadable modules.
- effective_cache_size | Sets the planner's assumption about the size of the disk cache.
- effective_io_concurrency | Number of simultaneous requests that can be handled efficiently by the disk subsystem.
- enable_bitmapscan | Enables the planner's use of bitmap-scan plans.
- enable_hashagg | Enables the planner's use of hashed aggregation plans.
- enable_hashjoin | Enables the planner's use of hash join plans.
- enable_indexscan | Enables the planner's use of index-scan plans.
- enable_mergejoin | Enables the planner's use of merge join plans.
- enable_nestloop | Enables the planner's use of nested-loop join plans.
- enable_seqscan | Enables the planner's use of sequential-scan plans.
- enable_sort | Enables the planner's use of explicit sort steps.
- enable_tidscan | Enables the planner's use of TID scan plans.
- escape_string_warning | Warn about backslash escapes in ordinary string literals.
- external_pid_file | Writes the postmaster PID to the specified file.
- extra_float_digits | Sets the number of digits displayed for floating-point values.
- from_collapse_limit | Sets the FROM-list size beyond which subqueries are not collapsed.
- fsync | Forces synchronization of updates to disk.
- full_page_writes | Writes full pages to WAL when first modified after a checkpoint.
- geqo | Enables genetic query optimization.
- geqo_effort | GEQO: effort is used to set the default for other GEQO parameters.
- geqo_generations | GEQO: number of iterations of the algorithm.
- geqo_pool_size | GEQO: number of individuals in the population.
- geqo_selection_bias | GEQO: selective pressure within the population.
- geqo_threshold | Sets the threshold of FROM items beyond which GEQO is used.
- gin_fuzzy_search_limit | Sets the maximum allowed result for exact search by GIN.
- hba_file | Sets the server's "hba" configuration file.
- ident_file | Sets the server's "ident" configuration file.
- ignore_system_indexes | Disables reading from system indexes.
- integer_datetimes | Datetimes are integer based.
- IntervalStyle | Sets the display format for interval values.
- join_collapse_limit | Sets the FROM-list size beyond which JOIN constructs are not flattened.
- krb_caseins_users | Sets whether Kerberos and GSSAPI user names should be treated as case-insensitive.
- krb_server_keyfile | Sets the location of the Kerberos server key file.
- krb_srvname | Sets the name of the Kerberos service.
- lc_collate | Shows the collation order locale.
- lc_ctype | Shows the character classification and case conversion locale.
- lc_messages | Sets the language in which messages are displayed.
- lc_monetary | Sets the locale for formatting monetary amounts.
- lc_numeric | Sets the locale for formatting numbers.
- lc_time | Sets the locale for formatting date and time values.
- listen_addresses | Sets the host name or IP address(es) to listen to.
- local_preload_libraries | Lists shared libraries to preload into each backend.
- log_autovacuum_min_duration | Sets the minimum execution time above which autovacuum actions will be logged.
- log_checkpoints | Logs each checkpoint.
- log_connections | Logs each successful connection.
- log_destination | Sets the destination for server log output.
- log_directory | Sets the destination directory for log files.
- log_disconnections | Logs end of a session, including duration.
- log_duration | Logs the duration of each completed SQL statement.
- log_error_verbosity | Sets the verbosity of logged messages.
- log_executor_stats | Writes executor performance statistics to the server log.
- log_filename | Sets the file name pattern for log files.
- log_hostname | Logs the host name in the connection logs.
- log_line_prefix | Controls information prefixed to each log line.
- log_lock_waits | Logs long lock waits.
- log_min_duration_statement | Sets the minimum execution time above which statements will be logged.
- log_min_error_statement | Causes all statements generating error at or above this level to be logged.
- log_min_messages | Sets the message levels that are logged.
- log_parser_stats | Writes parser performance statistics to the server log.
- log_planner_stats | Writes planner performance statistics to the server log.
- log_rotation_age | Automatic log file rotation will occur after N minutes.
- log_rotation_size | Automatic log file rotation will occur after N kilobytes.
- log_statement | Sets the type of statements logged.
- log_statement_stats | Writes cumulative performance statistics to the server log.
- log_temp_files | Log the use of temporary files larger than this number of kilobytes.
- log_timezone | Sets the time zone to use in log messages.
- log_truncate_on_rotation | Truncate existing log files of same name during log rotation.
- logging_collector | Start a subprocess to capture stderr output and/or csvlogs into log files.
- maintenance_work_mem | Sets the maximum memory to be used for maintenance operations.
- max_connections | Sets the maximum number of concurrent connections.
- max_files_per_process | Sets the maximum number of simultaneously open files for each server process.
- max_function_args | Shows the maximum number of function arguments.
- max_identifier_length | Shows the maximum identifier length.
- max_index_keys | Shows the maximum number of index keys.
- max_locks_per_transaction | Sets the maximum number of locks per transaction.
- max_prepared_transactions | Sets the maximum number of simultaneously prepared transactions.
- max_stack_depth | Sets the maximum stack depth, in kilobytes.
- password_encryption | Encrypt passwords.
- port | Sets the TCP port the server listens on.
- post_auth_delay | Waits N seconds on connection startup after authentication.
- pre_auth_delay | Waits N seconds on connection startup before authentication.
- random_page_cost | Sets the planner's estimate of the cost of a nonsequentially fetched disk page.
- regex_flavor | Sets the regular expression "flavor".
- search_path | Sets the schema search order for names that are not schema-qualified.
- segment_size | Shows the number of pages per disk file.
- seq_page_cost | Sets the planner's estimate of the cost of a sequentially fetched disk page.
- server_encoding | Sets the server (database) character set encoding.
- server_version | Shows the server version.
- server_version_num | Shows the server version as an integer.
- session_replication_role | Sets the session's behavior for triggers and rewrite rules.
- shared_buffers | Sets the number of shared memory buffers used by the server.
- shared_preload_libraries | Lists shared libraries to preload into server.
- silent_mode | Runs the server silently.
- sql_inheritance | Causes subtables to be included by default in various commands.
- ssl | Enables SSL connections.
- standard_conforming_strings | Causes '...' strings to treat backslashes literally.
- statement_timeout | Sets the maximum allowed duration of any statement.
- stats_temp_directory | Writes temporary statistics files to the specified directory.
- superuser_reserved_connections | Sets the number of connection slots reserved for superusers.
- synchronize_seqscans | Enable synchronized sequential scans.
- synchronous_commit | Sets immediate fsync at commit.
- syslog_facility | Sets the syslog "facility" to be used when syslog enabled.
- syslog_ident | Sets the program name used to identify PostgreSQL messages in syslog.
- tcp_keepalives_count | Maximum number of TCP keepalive retransmits.
- tcp_keepalives_idle | Time between issuing TCP keepalives.
- tcp_keepalives_interval | Time between TCP keepalive retransmits.
- temp_buffers | Sets the maximum number of temporary buffers used by each session.
- temp_tablespaces | Sets the tablespace(s) to use for temporary tables and sort files.
- TimeZone | Sets the time zone for displaying and interpreting time stamps.
- timezone_abbreviations | Selects a file of time zone abbreviations.
- trace_notify | Generates debugging output for LISTEN and NOTIFY.
- trace_sort | Emit information about resource usage in sorting.
- track_activities | Collects information about executing commands.
- track_activity_query_size | Sets the size reserved for pg_stat_activity.current_query, in bytes.
- track_counts | Collects statistics on database activity.
- track_functions | Collects function-level statistics on database activity.
- transaction_isolation | Sets the current transaction's isolation level.
- transaction_read_only | Sets the current transaction's read-only status.
- transform_null_equals | Treats "expr=NULL" as "expr IS NULL".
- unix_socket_directory | Sets the directory where the Unix-domain socket will be created.
- unix_socket_group | Sets the owning group of the Unix-domain socket.
- unix_socket_permissions | Sets the access permissions of the Unix-domain socket.
- update_process_title | Updates the process title to show the active SQL command.
- vacuum_cost_delay | Vacuum cost delay in milliseconds.
- vacuum_cost_limit | Vacuum cost amount available before napping.
- vacuum_cost_page_dirty | Vacuum cost for a page dirtied by vacuum.
- vacuum_cost_page_hit | Vacuum cost for a page found in the buffer cache.
- vacuum_cost_page_miss | Vacuum cost for a page not found in the buffer cache.
- vacuum_freeze_min_age | Minimum age at which VACUUM should freeze a table row.
- vacuum_freeze_table_age | Age at which VACUUM should scan whole table to freeze tuples.
- wal_block_size | Shows the block size in the write ahead log.
- wal_buffers | Sets the number of disk-page buffers in shared memory for WAL.
- wal_segment_size | Shows the number of pages per write ahead log segment.
- wal_sync_method | Selects the method used for forcing WAL updates to disk.
- wal_writer_delay | WAL writer sleep time between WAL flushes.
- work_mem | Sets the maximum memory to be used for query workspaces.
- xmlbinary | Sets how binary values are to be encoded in XML.
- xmloption | Sets whether XML data in implicit parsing and serialization operations is to be considered as documents or content fragment
- s.
- zero_damaged_pages | Continues processing past damaged page headers.
- (193 rows)
- kevin_test=#
4.记住选项值的改动并不一定对整个数据库生效,有时仅对当前session在效,在执行SET语句时,可通过LOCAL选项明确指定。
- kevin_test=# SET LOCAL work_mem='16MB';
- SET
- kevin_test=#
5.查看系统中哪些选项被修改过。
- kevin_test=# SELECT name, source, setting FROM pg_settings
- WHERE source != 'default'
- AND source != 'override'
- ORDER BY 2, 1;
- name | source | setting
- ----------------------------+----------------------+-------------------
- log_timezone | command line | PRC
- TimeZone | command line | PRC
- timezone_abbreviations | command line | Default
- DateStyle | configuration file | ISO, YMD
- default_text_search_config | configuration file | pg_catalog.simple
- lc_messages | configuration file | zh_CN.UTF-8
- lc_monetary | configuration file | zh_CN.UTF-8
- lc_numeric | configuration file | zh_CN.UTF-8
- lc_time | configuration file | zh_CN.UTF-8
- listen_addresses | configuration file | *
- max_connections | configuration file | 100
- shared_buffers | configuration file | 3584
- max_stack_depth | environment variable | 2048
- (13 rows)
- kevin_test=#
db117=# SELECT name, source, setting FROM pg_settings
db117-# ;
name | source | setting
-------------------------------------+----------------------+---------------------------------------
allow_system_table_mods | default | off
application_name | default |
archive_command | default | (disabled)
archive_mode | default | off
archive_timeout | default | 0
array_nulls | default | on
authentication_timeout | default | 60
autovacuum | default | on
autovacuum_analyze_scale_factor | default | 0.1
autovacuum_analyze_threshold | default | 50
autovacuum_freeze_max_age | default | 200000000
autovacuum_max_workers | default | 3
autovacuum_multixact_freeze_max_age | default | 400000000
autovacuum_naptime | default | 60
autovacuum_vacuum_cost_delay | default | 20
autovacuum_vacuum_cost_limit | default | -1
autovacuum_vacuum_scale_factor | default | 0.2
autovacuum_vacuum_threshold | default | 50
backslash_quote | default | safe_encoding
bgwriter_delay | default | 200
bgwriter_lru_maxpages | default | 100
bgwriter_lru_multiplier | default | 2
block_size | default | 8192
bonjour | default | off
bonjour_name | default |
bytea_output | default | hex
check_function_bodies | default | on
checkpoint_completion_target | default | 0.5
checkpoint_segments | default | 3
checkpoint_timeout | default | 300
checkpoint_warning | default | 30
client_encoding | default | UTF8
client_min_messages | default | notice
commit_delay | default | 0
commit_siblings | default | 5
config_file | override | /usr/local/pgsql/data/postgresql.conf
constraint_exclusion | default | partition
cpu_index_tuple_cost | default | 0.005
cpu_operator_cost | default | 0.0025
cpu_tuple_cost | default | 0.01
cursor_tuple_fraction | default | 0.1
data_checksums | override | off
data_directory | override | /usr/local/pgsql/data
DateStyle | configuration file | ISO, MDY
db_user_namespace | default | off
deadlock_timeout | default | 1000
debug_assertions | default | off
debug_pretty_print | default | on
debug_print_parse | default | off
debug_print_plan | default | off
debug_print_rewritten | default | off
default_statistics_target | default | 100
default_tablespace | default |
default_text_search_config | configuration file | pg_catalog.english
default_transaction_deferrable | default | off
default_transaction_isolation | default | read committed
default_transaction_read_only | default | off
default_with_oids | default | off
dynamic_library_path | default | $libdir
effective_cache_size | default | 16384
effective_io_concurrency | default | 1
enable_bitmapscan | default | on
enable_hashagg | default | on
enable_hashjoin | default | on
enable_indexonlyscan | default | on
enable_indexscan | default | on
enable_material | default | on
enable_mergejoin | default | on
enable_nestloop | default | on
enable_seqscan | default | on
enable_sort | default | on
enable_tidscan | default | on
escape_string_warning | default | on
event_source | default | PostgreSQL
exit_on_error | default | off
external_pid_file | default |
extra_float_digits | default | 0
from_collapse_limit | default | 8
fsync | default | on
full_page_writes | default | on
geqo | default | on
geqo_effort | default | 5
geqo_generations | default | 0
geqo_pool_size | default | 0
geqo_seed | default | 0
geqo_selection_bias | default | 2
geqo_threshold | default | 12
gin_fuzzy_search_limit | default | 0
hba_file | override | /usr/local/pgsql/data/pg_hba.conf
hot_standby | default | off
hot_standby_feedback | default | off
ident_file | override | /usr/local/pgsql/data/pg_ident.conf
ignore_checksum_failure | default | off
ignore_system_indexes | default | off
integer_datetimes | default | on
IntervalStyle | default | postgres
join_collapse_limit | default | 8
krb_caseins_users | default | off
krb_server_keyfile | default |
krb_srvname | default | postgres
lc_collate | override | en_US.UTF-8
lc_ctype | override | en_US.UTF-8
lc_messages | configuration file | en_US.UTF-8
lc_monetary | configuration file | en_US.UTF-8
lc_numeric | configuration file | en_US.UTF-8
lc_time | configuration file | en_US.UTF-8
listen_addresses | default | localhost
lo_compat_privileges | default | off
local_preload_libraries | default |
lock_timeout | default | 0
log_autovacuum_min_duration | default | -1
log_checkpoints | default | off
log_connections | default | off
log_destination | default | stderr
log_directory | default | pg_log
log_disconnections | default | off
log_duration | default | off
log_error_verbosity | default | default
log_executor_stats | default | off
log_file_mode | default | 0600
log_filename | default | postgresql-%Y-%m-%d_%H%M%S.log
log_hostname | default | off
log_line_prefix | default |
log_lock_waits | default | off
log_min_duration_statement | default | -1
log_min_error_statement | default | error
log_min_messages | default | warning
log_parser_stats | default | off
log_planner_stats | default | off
log_rotation_age | default | 1440
log_rotation_size | default | 10240
log_statement | default | none
log_statement_stats | default | off
log_temp_files | default | -1
log_timezone | configuration file | PRC
log_truncate_on_rotation | default | off
logging_collector | default | off
maintenance_work_mem | default | 16384
max_connections | configuration file | 100
max_files_per_process | default | 1000
max_function_args | default | 100
max_identifier_length | default | 63
max_index_keys | default | 32
max_locks_per_transaction | default | 64
max_pred_locks_per_transaction | default | 64
max_prepared_transactions | default | 0
max_stack_depth | environment variable | 2048
max_standby_archive_delay | default | 30000
max_standby_streaming_delay | default | 30000
max_wal_senders | default | 0
password_encryption | default | on
port | default | 5432
post_auth_delay | default | 0
pre_auth_delay | default | 0
quote_all_identifiers | default | off
random_page_cost | default | 4
restart_after_crash | default | on
search_path | default | "$user",public
segment_size | default | 131072
seq_page_cost | default | 1
server_encoding | override | UTF8
server_version | default | 9.3.5
server_version_num | default | 90305
session_replication_role | default | origin
shared_buffers | configuration file | 16384
shared_preload_libraries | default |
sql_inheritance | default | on
ssl | default | off
ssl_ca_file | default |
ssl_cert_file | default | server.crt
ssl_ciphers | default | none
ssl_crl_file | default |
ssl_key_file | default | server.key
ssl_renegotiation_limit | default | 524288
standard_conforming_strings | default | on
statement_timeout | default | 0
stats_temp_directory | default | pg_stat_tmp
superuser_reserved_connections | default | 3
synchronize_seqscans | default | on
synchronous_commit | default | on
synchronous_standby_names | default |
syslog_facility | default | local0
syslog_ident | default | postgres
tcp_keepalives_count | default | 0
tcp_keepalives_idle | default | 0
tcp_keepalives_interval | default | 0
temp_buffers | default | 1024
temp_file_limit | default | -1
temp_tablespaces | default |
TimeZone | configuration file | PRC
timezone_abbreviations | default | Default
trace_notify | default | off
trace_recovery_messages | default | log
trace_sort | default | off
track_activities | default | on
track_activity_query_size | default | 1024
track_counts | default | on
track_functions | default | none
track_io_timing | default | off
transaction_deferrable | override | off
transaction_isolation | override | read committed
transaction_read_only | override | off
transform_null_equals | default | off
unix_socket_directories | default | /tmp
unix_socket_group | default |
unix_socket_permissions | default | 0777
update_process_title | default | on
vacuum_cost_delay | default | 0
vacuum_cost_limit | default | 200
vacuum_cost_page_dirty | default | 20
vacuum_cost_page_hit | default | 1
vacuum_cost_page_miss | default | 10
vacuum_defer_cleanup_age | default | 0
vacuum_freeze_min_age | default | 50000000
vacuum_freeze_table_age | default | 150000000
vacuum_multixact_freeze_min_age | default | 5000000
vacuum_multixact_freeze_table_age | default | 150000000
wal_block_size | default | 8192
wal_buffers | override | 512
wal_keep_segments | default | 0
wal_level | default | minimal
wal_receiver_status_interval | default | 10
wal_receiver_timeout | default | 60000
wal_segment_size | default | 2048
wal_sender_timeout | default | 60000
wal_sync_method | default | fdatasync
wal_writer_delay | default | 200
work_mem | default | 1024
xmlbinary | default | base64
xmloption | default | content
zero_damaged_pages | default | off
(231 rows)
db117=#