mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-09 06:22:57 +00:00
postgres_ffi/wal_generate: add last_wal_record_xlog_switch and use it in tests
Fix #1190: WalDecoder did not return correct LSN of the next record after processing a XLOG_SWITCH record
This commit is contained in:
committed by
Egor Suvorov
parent
52f445094a
commit
85bda437de
@@ -9,6 +9,7 @@ import pytest
|
||||
@pytest.mark.parametrize('wal_type',
|
||||
[
|
||||
'simple',
|
||||
'last_wal_record_xlog_switch',
|
||||
'last_wal_record_crossing_segment',
|
||||
'wal_record_crossing_segment_followed_by_small_one',
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user