forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc2281ac
committed
Remove belt-and-suspenders guards against buffer pin leaks.
Forcibly releasing all leftover buffer pins should be unnecessary nowthat we have a robust ResourceOwner mechanism, and it significantlyincreases the cost of process shutdown. Instead, in an assert-enabledbuild, assert that no pins are held; in a non-assert-enabled build, donothing.1 parent58dfb07 commitc2281ac
2 files changed
+23
-19
lines changedLines changed: 8 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1659 | 1659 |
| |
1660 | 1660 |
| |
1661 | 1661 |
| |
1662 |
| - | |
| 1662 | + | |
| 1663 | + | |
1663 | 1664 |
| |
1664 | 1665 |
| |
1665 | 1666 |
| |
1666 | 1667 |
| |
1667 |
| - | |
1668 |
| - | |
1669 | 1668 |
| |
1670 | 1669 |
| |
1671 | 1670 |
| |
1672 |
| - | |
| 1671 | + | |
| 1672 | + | |
1673 | 1673 |
| |
1674 |
| - | |
1675 |
| - | |
1676 |
| - | |
| 1674 | + | |
1677 | 1675 |
| |
1678 |
| - | |
1679 |
| - | |
1680 |
| - | |
1681 |
| - | |
1682 |
| - | |
1683 |
| - | |
| 1676 | + | |
| 1677 | + | |
1684 | 1678 |
| |
1685 | 1679 |
| |
1686 | 1680 |
| |
| 1681 | + | |
1687 | 1682 |
| |
1688 | 1683 |
| |
1689 | 1684 |
| |
|
Lines changed: 15 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
468 | 468 |
| |
469 | 469 |
| |
470 | 470 |
| |
471 |
| - | |
472 |
| - | |
473 |
| - | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
474 | 475 |
| |
475 | 476 |
| |
476 | 477 |
| |
477 | 478 |
| |
478 |
| - | |
479 |
| - | |
480 |
| - | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
481 | 490 |
|
0 commit comments
Comments
(0)