forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite8d118f
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 parent917fe6a commite8d118f
1 file changed
+17
-2
lines changedLines changed: 17 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1405 | 1405 |
| |
1406 | 1406 |
| |
1407 | 1407 |
| |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
1408 | 1423 |
| |
1409 | 1424 |
| |
1410 | 1425 |
| |
| |||
2424 | 2439 |
| |
2425 | 2440 |
| |
2426 | 2441 |
| |
2427 |
| - | |
2428 |
| - | |
| 2442 | + | |
| 2443 | + | |
2429 | 2444 |
| |
2430 | 2445 |
| |
2431 | 2446 |
| |
|
0 commit comments
Comments
(0)