projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd5a9a5
)
Add tab completion for \pset in psql.
author
Fujii Masao
<fujii@postgresql.org>
Tue, 19 Nov 2013 14:44:14 +0000
(23:44 +0900)
committer
Fujii Masao
<fujii@postgresql.org>
Tue, 19 Nov 2013 14:44:14 +0000
(23:44 +0900)
Pavel Stehule, reviewed by Ian Lawrence Barwick
src/bin/psql/tab-complete.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/psql/tab-complete.c
b/src/bin/psql/tab-complete.c
index 72f4652ac257f4578c730125cd28ed198ef746f9..2a0bb71d641ad3fdd5026ff35decbaf529985507 100644
(file)
--- a/
src/bin/psql/tab-complete.c
+++ b/
src/bin/psql/tab-complete.c
@@
-3335,9
+3335,10
@@
psql_completion(char *text, int start, int end)
else if (strcmp(prev_wd, "\\pset") == 0)
{
static const char *const my_list[] =
- {"format", "border", "expanded",
- "null", "fieldsep", "tuples_only", "title", "tableattr",
- "linestyle", "pager", "recordsep", NULL};
+ {"border", "columns", "expanded", "fieldsep", "fieldsep_zero",
+ "footer", "format", "linestyle", "null", "numericlocale",
+ "pager", "recordsep", "recordsep_zero", "tableattr", "title",
+ "tuples_only", NULL};
COMPLETE_WITH_LIST_CS(my_list);
}