登录
20.18. 短选项#
为了方便,还为某些参数提供了单字母命令行选项开关。它们在表 20.4中进行了描述。其中一些选项出于历史原因而存在,它们作为单字母选项出现并不一定表示认可大量使用该选项。
表 20.4. 短选项键
短选项 | 等效项 |
---|---|
-B | shared_buffers = |
-d | log_min_messages = DEBUG |
-e | datestyle = euro |
-fb , -fh , -fi , -fm , -fn , -fo , -fs , -ft | enable_bitmapscan = off , enable_hashjoin = off , enable_indexscan = off , enable_mergejoin = off , enable_nestloop = off , enable_indexonlyscan = off , enable_seqscan = off , enable_tidscan = off |
-F | fsync = off |
-h | listen_addresses = |
-i | listen_addresses = '*' |
-k | unix_socket_directories = |
-l | ssl = on |
-N | max_connections = |
-O | allow_system_table_mods = on |
-p | port = |
-P | ignore_system_indexes = on |
-s | log_statement_stats = on |
-S | work_mem = |
-tpa , -tpl , -te | log_parser_stats = on , log_planner_stats = on , log_executor_stats = on |
-W | post_auth_delay = |