wal_decoder: no-op on RM_BTREE_ID

This commit is contained in:
Vlad Lazar
2024-10-31 18:01:09 +01:00
parent dc7004ec10
commit 1cdebae470
2 changed files with 2 additions and 0 deletions

View File

@@ -170,6 +170,7 @@ pub const RM_RELMAP_ID: u8 = 7;
pub const RM_STANDBY_ID: u8 = 8;
pub const RM_HEAP2_ID: u8 = 9;
pub const RM_HEAP_ID: u8 = 10;
pub const RM_BTREE_ID: u8 = 11;
pub const RM_REPLORIGIN_ID: u8 = 19;
pub const RM_LOGICALMSG_ID: u8 = 21;

View File

@@ -169,6 +169,7 @@ impl MetadataRecord {
}
pg_constants::RM_STANDBY_ID => Self::decode_standby_record(&mut buf, decoded),
pg_constants::RM_REPLORIGIN_ID => Self::decode_replorigin_record(&mut buf, decoded),
pg_constants::RM_BTREE_ID => Ok(None),
unexpected => {
// TODO: consider failing here instead of blindly doing something without
// understanding the protocol