Skip to content

Commit

Permalink
return null for unchanged toast values
Browse files Browse the repository at this point in the history
  • Loading branch information
imor committed Dec 1, 2024
1 parent d07822b commit 32fc409
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pg_replicate/src/conversions/cdc_event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ impl CdcEventConverter {
for (i, column_schema) in column_schemas.iter().enumerate() {
let cell = match &tuple_data[i] {
TupleData::Null => Cell::Null,
TupleData::UnchangedToast => {
return Err(CdcEventConversionError::UnchangedToastNotSupported)
}
TupleData::UnchangedToast => Cell::Null,
TupleData::Binary(_) => {
return Err(CdcEventConversionError::BinaryFormatNotSupported)
}
Expand Down

0 comments on commit 32fc409

Please sign in to comment.