forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite8fe426
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 parent121213d commite8fe426
1 file changed
+17
-2
lines changedLines changed: 17 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1419 | 1419 |
| |
1420 | 1420 |
| |
1421 | 1421 |
| |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
1422 | 1437 |
| |
1423 | 1438 |
| |
1424 | 1439 |
| |
| |||
2487 | 2502 |
| |
2488 | 2503 |
| |
2489 | 2504 |
| |
2490 |
| - | |
2491 |
| - | |
| 2505 | + | |
| 2506 | + | |
2492 | 2507 |
| |
2493 | 2508 |
| |
2494 | 2509 |
| |
|
0 commit comments
Comments
(0)