Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use postgres mem context in decryption #6

Merged
merged 2 commits into from
Aug 23, 2023
Merged

Use postgres mem context in decryption #6

merged 2 commits into from
Aug 23, 2023

Conversation

dAdAbird
Copy link
Member

No description provided.

@@ -79,8 +80,12 @@ static void PGTdeDecryptTupInternal2(BlockNumber bn, Page page, HeapTuple tuple,
// Most of the time we can't decrypt in place, so we allocate some memory... and leek it for now :(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment is no longer true with these changes.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, I even checked if there is no comment about the leak - thought it was right above malloc :)
fixed 0738044

@dAdAbird dAdAbird merged commit 19ee9a6 into tuple_enc Aug 23, 2023
@dAdAbird dAdAbird deleted the enc_mem_ctx branch August 23, 2023 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants