为了方便起见,系统中还为一些参数提供了单字母的命令行选项开关。它们在Table 18.3中描述。其中一些选项是由于历史原因而存在,并且它们作为一个单字母选项存在并不表示它们会被大量使用。
Table 18.3. 短选项键
短选项 | 等效于 |
---|---|
-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 = |