feat: keep pgjwt present but deactivated for orioledb only to avoid r… #1557
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR will also need to address this change in https://github.com/supabase/infrastructure/blob/develop/init-scripts/project/00-initial-schema.sql#L20 as well.
At this time, the scope of this change is to fix the following issues only. If we need to expand the scope, it needs to be in a different PR.
dbExtensions17
filter inflake.nix
to ensure it's not included in PostgreSQL 17 buildsorioleFilteredExtensions
so it's included in the orioledb-17 packagesupautils.privileged_extensions
list insupautils.conf.j2
since it's a privileged extensionshared_preload_libraries
list inpostgresql.conf.j2
to prevent it from being loaded by defaultDockerfile-orioledb-17
andansible/tasks/stage2-setup-postgres.yml
that remove pgjwt from supautils.confThis setup will:
So the only change needed was to allow pgjwt to be built and delivered with oriole-17 package + adjusmtment of init and test sql.