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

@@ -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