forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite6ccd1c
committed
Simplify one use of ScanKey in pg_subscription.c
The section of the code in charge of returning all the relationsassociated to a subscription only need one ScanKey, but allocated two ofthem. This code was introduced as a copy-paste from a different area onthe same file by7c4f524, making the result confusing to follow.Author: Peter SmithReviewed-by: Tom Lane, Julien Rouhaud, Bharath RupireddyDiscussion:https://postgr.es/m/CAHut+PsLKe+rN3FjchoJsd76rx2aMsFTB7CTFxRgUP05p=kcpQ@mail.gmail.com1 parentec6e70c commite6ccd1c
1 file changed
+3
-4
lines changedLines changed: 3 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
461 | 461 |
| |
462 | 462 |
| |
463 | 463 |
| |
464 |
| - | |
465 |
| - | |
| 464 | + | |
466 | 465 |
| |
467 | 466 |
| |
468 | 467 |
| |
469 | 468 |
| |
470 |
| - | |
| 469 | + | |
471 | 470 |
| |
472 | 471 |
| |
473 | 472 |
| |
474 | 473 |
| |
475 | 474 |
| |
476 |
| - | |
| 475 | + | |
477 | 476 |
| |
478 | 477 |
| |
479 | 478 |
| |
|
0 commit comments
Comments
(0)