Skip to content

feat: use exported data for pg_catalog #133

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

Merged
merged 5 commits into from
Aug 22, 2025

Conversation

sunng87
Copy link
Member

@sunng87 sunng87 commented Aug 21, 2025

In this huge patch, I removed our manual implementation of static pg_catalog tables.

I used a script to dump pg_catalog tables from postgres 17.6 and created a ArrowTable struct, which allows me to register the dumped data as datafusion table.

There are only 4 tables I consider is dynamic, and generated based on datafusion catalog:

  • pg_class
  • pg_attribute
  • pg_namespace
  • pg_database

#110

@sunng87 sunng87 merged commit 26b2413 into master Aug 22, 2025
6 checks passed
@sunng87 sunng87 deleted the feature/pg_catalog_export_tables branch August 22, 2025 02:38
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