- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit56fadbe
committed
Mark correctly initial slot snapshots with MVCC type when built
When building an initial slot snapshot, snapshots are marked withhistoric MVCC snapshots as type with the marker field being set inSnapBuildBuildSnapshot() but not overriden in SnapBuildInitialSnapshot().Existing callers of SnapBuildBuildSnapshot() do not care about the typeof snapshot used, but extensions calling it actually may, as reported.While on it, mark correctly the snapshot type when importing one. Thisis cosmetic as the field is enforced to 0.Author: Antonin HouskaReviewed-by: Álvaro Herrera, Michael PaquierDiscussion:https://postgr.es/m/23215.1527665193@localhostBackpatch-through: 9.41 parent90cfa49 commit56fadbe
File tree
2 files changed
+4
-0
lines changed- src/backend
- replication/logical
- utils/time
2 files changed
+4
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
616 | 616 |
| |
617 | 617 |
| |
618 | 618 |
| |
| 619 | + | |
| 620 | + | |
619 | 621 |
| |
620 | 622 |
| |
621 | 623 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1509 | 1509 |
| |
1510 | 1510 |
| |
1511 | 1511 |
| |
| 1512 | + | |
| 1513 | + | |
1512 | 1514 |
| |
1513 | 1515 |
| |
1514 | 1516 |
| |
|
0 commit comments
Comments
(0)