For convenience there are also single letter command-line option switches available for some parameters. They are described in Table 19.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 19.4. Short Option Key
Short Option | Equivalent |
---|---|
-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 = |