-
Notifications
You must be signed in to change notification settings - Fork 52
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
Convert extensions to bundles #281
Comments
erichanson
added
epic
big meta-ticket that is more of an outcome than a specific task
refactor
labels
Nov 16, 2023
Getting close. Running the extension-to-bundle.sql script calls extension_to_bundle() on each extension except meta and bundle, and outputs below. After the conversion to bundles, I deleted all the bundled schemas and recreated their extensions, which gives a really nice diff between what's in the bundle and what the extension creates. Remaining issues:
|
Timing on bundle views, with everything installed:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Aquameta's extensions, except for
meta
andbundle
(the bootstrap), should be converted to bundles. The extension-to-bundle.sql script is the first of such experiments, but it can be a lot better. Using techniques learned from the meta id generator, we can do some incredible stuff.Converting extensions to bundles will mean that we can have robust bundle dependencies, and in the future, do all Aquameta development within the bundle VCS, including core. It means everything will be data except for the bootstrap. We'll be free of the extension system's many shortcomings. It means future updates to Aquameta will just be another bundle pull.
General approach:
extension_to_bundle(extension_name, bundle_name)
:pg_catalog.pg_depends
which is where the contents of an extension is stored (by oid :/)meta
catalogOpen questions:
The text was updated successfully, but these errors were encountered: