forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9f0172b
committed
Fix initialization of fake LSN for unlogged relations
9155580 has changed the value of the first fake LSN for unloggedrelations from 1 to FirstNormalUnloggedLSN (aka 1000), GiST requiring anon-zero LSN on some pages to allow an interlocking logic to work, butits value was still initialized to 1 at the beginning of recovery orafter running pg_resetwal. This fixes the initialization for both codepaths.Author: Takayuki TsunakawaReviewed-by: Dilip Kumar, Kyotaro Horiguchi, Michael PaquierDiscussion:https://postgr.es/m/OSBPR01MB2503CE851940C17DE44AE3D9FE6F0@OSBPR01MB2503.jpnprd01.prod.outlook.comBackpatch-through: 121 parent63ebe20 commit9f0172b
File tree
2 files changed
+2
-2
lines changed- src
- backend/access/transam
- bin/pg_resetwal
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6683 | 6683 |
| |
6684 | 6684 |
| |
6685 | 6685 |
| |
6686 |
| - | |
| 6686 | + | |
6687 | 6687 |
| |
6688 | 6688 |
| |
6689 | 6689 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
706 | 706 |
| |
707 | 707 |
| |
708 | 708 |
| |
709 |
| - | |
| 709 | + | |
710 | 710 |
| |
711 | 711 |
| |
712 | 712 |
| |
|
0 commit comments
Comments
(0)