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

PG-1416, PG-829 Merge the map and keydata files #153

Open
wants to merge 7 commits into
base: TDE_REL_17_STABLE
Choose a base branch
from

Conversation

jeltz
Copy link
Collaborator

@jeltz jeltz commented Mar 19, 2025

We never took advantage of that the relation keys were stored in two
different files, one for the RelFileNumber and flags and one for the
actual keys so this just complicated the code for almost no gain.

Bumps the version of the file format.

This will make it less painful to add new features to the file format like checksums.

@jeltz jeltz requested review from dutow and dAdAbird as code owners March 19, 2025 13:29
@jeltz jeltz force-pushed the tde/merge-key-files branch 3 times, most recently from 06af08b to c1cc680 Compare March 19, 2025 14:21
jeltz added 7 commits March 22, 2025 13:20
If we have a lot of keys this could be a bit of memory.
This simplifies the API of the function.
This is done to simplify a future refactoring of the file.
A function which does two mostly unrelated things based on a boolean
argument is hard to read and reason about.
We never took advantage of that the relation keys were stored in two
different files, one for the RelFileNumber and flags and one for the
actual keys so this just complicated the code for almost no gain.

Bumps the version of the file format.
@jeltz jeltz force-pushed the tde/merge-key-files branch from c1cc680 to 1c42017 Compare March 22, 2025 12:21
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.

1 participant