For convenience there are also single letter command-line option switches available for some parameters. They are described in Table 17.1, “Short option key”.
Table 17.1. Short option key
Short option | Equivalent |
---|---|
-B |
shared_buffers = |
-d |
log_min_messages = DEBUG |
-F |
fsync = off |
-h |
listen_addresses = |
-i |
listen_addresses = '*' |
-k |
unix_socket_directory = |
-l |
ssl = on |
-N |
max_connections = |
-p |
port = |
-fb , -fh , -fi ,
-fm , -fn ,
-fs , -ft [a]
|
enable_bitmapscan = off ,
enable_hashjoin = off ,
enable_indexscan = off ,
enable_mergejoin = off ,
enable_nestloop = off ,
enable_seqscan = off ,
enable_tidscan = off
|
-s [a]
|
log_statement_stats = on |
-S [a]
|
work_mem = |
-tpa , -tpl , -te [a]
|
log_parser_stats = on ,
log_planner_stats = on ,
log_executor_stats = on
|
[a] For historical reasons, these options must be passed to
the individual server process via the $
or via PGOPTIONS from the client side, as
explained above.
|