forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita0c9685
committed
Fix assertion failure when running pgbench -s.
If there is the WAL page that the continuation WAL record just fits within(i.e., the continuation record ends just at the end of the page) andthe LSN in such page is specified with -s option, previously pg_waldumpcaused an assertion failure. The cause of this assertion failure was thatXLogFindNextRecord() that pg_waldump -s calls mistakenly handledsuch special WAL page.This commit changes XLogFindNextRecord() so that it can handlesuch WAL page correctly.Back-patch to all supported versions.Author: Andrey LepikhovReviewed-by: Fujii Masao, Michael PaquierDiscussion:https://postgr.es/m/99303554-5dd5-06e6-f943-b3005ccd6edd@postgrespro.ru1 parent7815e7e commita0c9685
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
966 | 966 |
| |
967 | 967 |
| |
968 | 968 |
| |
969 |
| - | |
| 969 | + | |
970 | 970 |
| |
971 | 971 |
| |
972 | 972 |
| |
|
0 commit comments
Comments
(0)