PostgreSQL 中文参考文档
🌐 英文原版 官方 ↗

19.18. 命令行短选项 #

为方便起见,某些参数还提供了单字母的命令行选项开关。 它们在 Table 19.5 中描述。 其中一些选项的存在出于历史原因, 它们作为单字母选项的存在并不必然表示鼓励大量使用该选项。

Table 19.5. 短选项键对照表

Short OptionEquivalent
-B xshared_buffers = x
-d xlog_min_messages = DEBUGx
-edatestyle = 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
-Ffsync = off
-h xlisten_addresses = x
-ilisten_addresses = '*'
-k xunix_socket_directories = x
-lssl = on
-N xmax_connections = x
-Oallow_system_table_mods = on
-p xport = x
-Pignore_system_indexes = on
-slog_statement_stats = on
-S xwork_mem = x
-tpa, -tpl, -telog_parser_stats = on, log_planner_stats = on, log_executor_stats = on
-W xpost_auth_delay = x