forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2f4193c
committed
Fix race introduced by6d46f47.
It's possible for the metapage contents to change after we releasethe lock, so we must read them before releasing the lock.Amit Kapila. Submitted in response to a trouble report fromAndreas Seltenreich, though it is not certain this fixes theproblem.1 parent0e50af2 commit2f4193c
1 file changed
+11
-3
lines changedLines changed: 11 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
653 | 653 |
| |
654 | 654 |
| |
655 | 655 |
| |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
656 | 665 |
| |
657 | 666 |
| |
658 | 667 |
| |
659 | 668 |
| |
660 |
| - | |
661 |
| - | |
662 |
| - | |
| 669 | + | |
| 670 | + | |
663 | 671 |
| |
664 | 672 |
| |
665 | 673 |
| |
|
0 commit comments
Comments
(0)