Issue: with the fix in #67, pgtde decrypts tuples during update into a new memory region, and changes the t_data pointer to this new region.
Because of this, later updates to tuple flags also happen in the new data, and the original persisted tuple flags are never updated.
Fix: after the update statement is done with the decrypted data, restore the t_data pointer to the original. This way, flag changes happen where they should.
Issue: with the fix in #67, pgtde decrypts tuples during update into a new memory region, and changes the t_data pointer to this new region.
Because of this, later updates to tuple flags also happen in the new data, and the original persisted tuple flags are never updated.
Fix: after the update statement is done with the decrypted data, restore the t_data pointer to the original. This way, flag changes happen where they should.
Fixes #68