forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita5d4e3f
committed
Fix tab completion for "ALTER SYSTEM SET variable ...".
It wouldn't complete "TO" after the variable name, which is certainlyminor enough. But since we do complete "TO" after "SET variable ...",and since this case used to work pre-9.6, I think this is a bug.Also, fix the query used to collect the variable names; whoever lasttouched it evidently didn't understand how the pieces are supposedto fit together. It accidentally worked anyway, because readlineignores irrelevant completions, but it was randomly unlike the onesaround it, and could be a source of actual bugs if someone copiedit as a prototype for another query.1 parent01e0cbc commita5d4e3f
1 file changed
+5
-4
lines changedLines changed: 5 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
675 | 675 |
| |
676 | 676 |
| |
677 | 677 |
| |
678 |
| - | |
679 |
| - | |
680 |
| - | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
681 | 681 |
| |
682 | 682 |
| |
683 | 683 |
| |
| |||
1661 | 1661 |
| |
1662 | 1662 |
| |
1663 | 1663 |
| |
1664 |
| - | |
1665 | 1664 |
| |
1666 | 1665 |
| |
| 1666 | + | |
| 1667 | + | |
1667 | 1668 |
| |
1668 | 1669 |
| |
1669 | 1670 |
| |
|
0 commit comments
Comments
(0)