mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
Add \pset options for boolean value display
New \pset variables display_true and display_false allow the user to change how true and false values are displayed. Author: David G. Johnston <David.G.Johnston@gmail.com> Reviewed-by: Álvaro Herrera <alvherre@kurilemu.de> Discussion: https://postgr.es/m/CAKFQuwYts3vnfQ5AoKhEaKMTNMfJ443MW2kFswKwzn7fiofkrw@mail.gmail.com Discussion: https://postgr.es/m/56308F56.8060908@joh.to
This commit is contained in:
@@ -5478,7 +5478,8 @@ match_previous_words(int pattern_id,
|
||||
else if (TailMatchesCS("\\password"))
|
||||
COMPLETE_WITH_QUERY(Query_for_list_of_roles);
|
||||
else if (TailMatchesCS("\\pset"))
|
||||
COMPLETE_WITH_CS("border", "columns", "csv_fieldsep", "expanded",
|
||||
COMPLETE_WITH_CS("border", "columns", "csv_fieldsep",
|
||||
"display_false", "display_true", "expanded",
|
||||
"fieldsep", "fieldsep_zero", "footer", "format",
|
||||
"linestyle", "null", "numericlocale",
|
||||
"pager", "pager_min_lines",
|
||||
|
||||
Reference in New Issue
Block a user