Skip to main content

Module placeholder

Module placeholder 

Source
Expand description

Handling of Debezium’s placeholder for column values that an UPDATE left unchanged and the upstream did not log, such as PostgreSQL TOAST values and Oracle LOB, XML and extended string values.

Functions§

chunk_has_placeholder
Whether any row in the chunk carries Debezium’s placeholder in one of the given columns.
is_debezium_placeholder 🔒
Check if a datum represents Debezium’s placeholder. This function handles both scalar types and one-dimensional arrays.
is_placeholder_str 🔒
Fast string comparison to check if a string equals DEBEZIUM_UNAVAILABLE_VALUE. Optimized by checking length first to avoid expensive string comparison.
restore_placeholder_columns
Replace Debezium’s placeholder in the given columns of new_row with the values from old_row.