forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit927332b
committed
psql: fix variable existence tab completion
psql has the :{?name} syntax for testing for a psql variable existence. Thiscommit implements a tab completion for this syntax. Notably, in order toimplement this we have to remove '{' from WORD_BREAKS. It appears that'{' here from the very beginning and it comes from the default value ofrl_basic_word_break_characters. And :{?name} is the only psql syntax usingthe '{' sign. So, removing it from WORD_BREAKS shouldn't break anything.Discussion:https://postgr.es/m/CAGRrpzZU48F2oV3d8eDLr%3D4TU9xFH5Jt9ED%2BqU1%2BX91gMH68Sw%40mail.gmail.comAuthor: Steve ChavezReviewed-by: Erik Wienhold1 parent6050622 commit927332b
2 files changed
+11
-1
lines changedLines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
413 | 413 |
| |
414 | 414 |
| |
415 | 415 |
| |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
416 | 424 |
| |
417 | 425 |
| |
418 | 426 |
| |
|
Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
76 | 76 |
| |
77 | 77 |
| |
78 | 78 |
| |
79 |
| - | |
| 79 | + | |
80 | 80 |
| |
81 | 81 |
| |
82 | 82 |
| |
| |||
1786 | 1786 |
| |
1787 | 1787 |
| |
1788 | 1788 |
| |
| 1789 | + | |
| 1790 | + | |
1789 | 1791 |
| |
1790 | 1792 |
| |
1791 | 1793 |
| |
|
0 commit comments
Comments
(0)