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

Support for enabling database extensions #18

Open
arturo-seijas opened this issue Jul 29, 2022 · 1 comment
Open

Support for enabling database extensions #18

arturo-seijas opened this issue Jul 29, 2022 · 1 comment

Comments

@arturo-seijas
Copy link

There's currently no way to enable database extensions as the connection user. The database charm will not be aware of the user the related application is requesting, so setting up the extensions through the database charm configuration is not an option.

IMHO the relation library should support enabling this extensions. Otherwise, an SQL client library would need to be included to execute the corresponding SQL statements. One possible solution would be for the library to support this SQL execution.

@mthaddon
Copy link
Contributor

mthaddon commented Aug 8, 2022

Note that this is something that's currently supported by https://github.com/canonical/ops-lib-pgsql - obviously the implementation doesn't need to be the same, but some charms using this library are relying on being able to do this currently.

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

2 participants