Postgresql 中文操作指南

20.18. Short Options #

为了方便起见,对于某些参数还提供了单字母命令行选项开关。它们在 Table 20.4中进行了说明。其中一些选项出于历史原因而存在,其作为单字母选项的存在并不一定表示认可大量使用该选项。

For convenience there are also single letter command-line option switches available for some parameters. They are described in Table 20.4. Some of these options exist for historical reasons, and their presence as a single-letter option does not necessarily indicate an endorsement to use the option heavily.

Table 20.4. Short Option Key

Short Option

Equivalent

-B _x_

shared_buffers = _x_

-d _x_

log_min_messages = DEBUG_x_

-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 _x_

listen_addresses = _x_

-i

listen_addresses = '*'

-k _x_

unix_socket_directories = _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_