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

fix(schema): check for extension before creating #7002

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ysdanielkim
Copy link
Contributor

What changed?

CREATE EXTENSION sql query is replaced with a pgsql script that checks for the existence of the extension programatically.

Why?

CREATE EXTENSION can cause issues in environment where creating extensions are limited to certain users. (e.g. Azure)

How did you test it?

I've ran the updated schema setup in both environments where btree_gin is installed and and not installed.

Potential risks

Regression in visibility database setup.

Documentation

Not needed.

Is hotfix candidate?

No

@ysdanielkim ysdanielkim requested a review from a team as a code owner December 17, 2024 22:23
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