mirror of
https://github.com/postgres/postgres.git
synced 2026-05-27 20:27:28 -04:00
psql: Tab completion for CHECKPOINT FLUSH_UNLOGGED boolean options
Tab completion for CHECKPOINT options contained FLUSH_UNLOGGED, but the boolean value was not part of the completion. Fix to make this consistent with other boolean values. Author: Chao Li <lic@highgo.com> Reviewed-by: Daniel Gustafsson <daniel@yesql.se> Discussion: https://postgr.es/m/4855807D-F1CA-44E6-9B58-406691832848@gmail.com
This commit is contained in:
parent
e64a9ba2b4
commit
7e5d8bd013
1 changed files with 2 additions and 0 deletions
|
|
@ -3274,6 +3274,8 @@ match_previous_words(int pattern_id,
|
|||
COMPLETE_WITH("MODE", "FLUSH_UNLOGGED");
|
||||
else if (TailMatches("MODE"))
|
||||
COMPLETE_WITH("FAST", "SPREAD");
|
||||
else if (TailMatches("FLUSH_UNLOGGED"))
|
||||
COMPLETE_WITH("ON", "OFF");
|
||||
}
|
||||
/* CLOSE */
|
||||
else if (Matches("CLOSE"))
|
||||
|
|
|
|||
Loading…
Reference in a new issue