forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf89ae34
committed
Improve tab completion of ALTER INDEX/TABLE with SET STATISTICS in psql
This fixes two issues with the completion of ALTER TABLE and ALTER INDEXafter SET STATISTICS is typed, trying to suggest schema objects whilethe grammar only allows integers.The tab completion of ALTER INDEX is made smarter by handling properlymore patterns. COLUMN is an optional keyword, but as no column numberscan be suggested yet as possible input simply adjust the completion soas no incorrect queries are generated.Author: Michael PaquierReviewed-by: Tatsuro YamadaDiscussion:https://postgr.es/m/20181219092255.GC680@paquier.xyz1 parentb981df4 commitf89ae34
1 file changed
+17
-0
lines changedLines changed: 17 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1601 | 1601 |
| |
1602 | 1602 |
| |
1603 | 1603 |
| |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
1604 | 1607 |
| |
1605 | 1608 |
| |
1606 | 1609 |
| |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
1607 | 1618 |
| |
1608 | 1619 |
| |
1609 | 1620 |
| |
| |||
1909 | 1920 |
| |
1910 | 1921 |
| |
1911 | 1922 |
| |
| 1923 | + | |
| 1924 | + | |
| 1925 | + | |
| 1926 | + | |
| 1927 | + | |
| 1928 | + | |
1912 | 1929 |
| |
1913 | 1930 |
| |
1914 | 1931 |
| |
|
0 commit comments
Comments
(0)