为了方便起见,这里还为一些参数提供了好多单字母命令行选项开关。它们在下面的表17-1里描述。其中一些选项仅仅是因为历史原因而存在的,尽管它们是单字母选项,但是并不表示它们很常用。
表17-1. 短选项键字
短选项 | 等效 |
---|---|
-A x | debug_assertions = x |
-B x | shared_buffers = x |
-d x | log_min_messages = DEBUGx |
-e | datestyle = euro |
-fb, -fh, -fi, -fm, -fn, -fs, -ft | enable_bitmapscan = off, enable_hashjoin = off, enable_indexscan = off, enable_mergejoin = off, enable_nestloop = off, enable_seqscan = off, enable_tidscan = off |
-F | fsync = off |
-h x | listen_addresses = x |
-i | listen_addresses = '*' |
-k x | unix_socket_directory = x |
-l | ssl = on |
-N x | max_connections = x |
-O | allow_system_table_mods = on |
-p x | port = x |
-P | ignore_system_indexes = on |
-s | log_statement_stats = on |
-S x | work_mem = x |
-tpa, -tpl, -te | log_parser_stats = on, log_planner_stats = on, log_executor_stats = on |
-W x | post_auth_delay = x |