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

Extension support #38

Open
zejn opened this issue Jul 10, 2018 · 0 comments
Open

Extension support #38

zejn opened this issue Jul 10, 2018 · 0 comments

Comments

@zejn
Copy link

zejn commented Jul 10, 2018

PostgreSQL has support for extensions. Installed extensions can be listed in psql with \dx.

Also useful are the system catalogs pg_extension, pg_available_extensions and pg_available_extension_versions.

Extensions can provide their own objects, eg. some functions might be provided by extension, so pgdiff should know that an extension needs to be installed/upgraded and not list those objects (functions/views/etc.) in regular diff.

Easy extension to test this is pg_stat_statements, which has two functions and a view.

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

No branches or pull requests

1 participant