Skip to content

Only extract typedefs from our object file #208

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

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

Conversation

jeltz
Copy link
Collaborator

@jeltz jeltz commented Apr 11, 2025

The reason to do this is that the old approach actually created an
unnecessary diff against upstream where they had forgot
SinglePartitionSpec in typedefs.list. Additionally add the new struct
for our SMGR patch to the list.

Also make sure to use src/tools/find_typedef for this instead of using an own very similar script.

jeltz added 2 commits April 11, 2025 15:59
Since the PostgreSQL repo already contains a script extracting typedefs
from object files let's use it.
The reason to do this is that the old approach actually created an
unnecessary diff against upstream where they had forgot
SinglePartitionSpec in typedefs.list. Additionally add the new struct
for our SMGR patch to the list.
@jeltz jeltz requested review from dutow and dAdAbird as code owners April 11, 2025 14:04
@@ -1607,6 +1607,7 @@ ManyTestResourceKind
Material
MaterialPath
MaterialState
MdSMgrRelationData
Copy link
Collaborator

Choose a reason for hiding this comment

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

We also have XLogSmgr? And maybe nothing else defined in the "main" sources, but with this we have to be more careful.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Oh, that is a good point. That makes the script kinda stupid as of my rewrite of it since it cares about which typedefs we used in pg_tde.so which MdSMgrRelationData is not while XLogSmgr is. Hmm.

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.

2 participants