forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit45a2d45
committed
Fix bogus tab-completion rule for CREATE PUBLICATION.
You can't use "FOR TABLE" as a single Matches argument, because readlinewill consider that input to be two words not one. It's necessary to makethe pattern contain two arguments.The case accidentally worked anyway because the words_after_createtest fired ... but only for the first such table name.Noted by Edmund Horner, though this isn't exactly his proposed fix.Backpatch to v10 where the faulty code came in.Discussion:https://postgr.es/m/CAMyN-kDe=gBmHgxWwUUaXuwK+p+7g1vChR7foPHRDLE592nJPQ@mail.gmail.com1 parentec7b276 commit45a2d45
1 file changed
+17
-2
lines changedLines changed: 17 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1600 | 1600 |
| |
1601 | 1601 |
| |
1602 | 1602 |
| |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
1603 | 1618 |
| |
1604 | 1619 |
| |
1605 | 1620 |
| |
| |||
2646 | 2661 |
| |
2647 | 2662 |
| |
2648 | 2663 |
| |
2649 |
| - | |
2650 |
| - | |
| 2664 | + | |
| 2665 | + | |
2651 | 2666 |
| |
2652 | 2667 |
| |
2653 | 2668 |
| |
|
0 commit comments
Comments
(0)