Repository navigation
chore: enable extension version restriction (warn) and cut AMIs - #2315
Merged
utkarash2991 merged 7 commits intoAug 3, 2026
Merged
utkarash2991 merged 7 commits into
utkarash2991 merged 7 commits into
Conversation
PostgreSQL Extension Dependency Analysis: PR #2315
SummaryNo extensions had dependencies with MAJOR version updates. Full Analysis ResultsPostgreSQL 15 Extension DependenciesPostgreSQL 17 Extension DependenciesOrioleDB 17 Extension Dependencies |
PostgreSQL Package Dependency Analysis: PR #2315
SummaryNo packages had MAJOR version updates. Full Analysis ResultsPostgreSQL 15 Dependency ChangesExtracting PostgreSQL 15 dependencies...
Runtime Closure Size
Raw Dependency ClosurePostgreSQL 17 Dependency ChangesExtracting PostgreSQL 17 dependencies...
Runtime Closure Size
Raw Dependency Closure |
Member
|
I think this needs to be rebased on top of https://github.com/supabase/postgres/pull/2311/changes - i.e. no need to bump version, but still need to bump the config |
za-arthur
requested changes
Jul 24, 2026
utkarash2991
force-pushed
the
utkarashsingh/psql-1159-merge-released-supautils-into-ami-and-test
branch
from
July 24, 2026 10:11
5fb0def to
8958677
Compare
utkarash2991
force-pushed
the
utkarashsingh/psql-1159-merge-released-supautils-into-ami-and-test
branch
2 times, most recently
from
July 25, 2026 13:42
291c412 to
2134fa6
Compare
soedirgo
approved these changes
Jul 27, 2026
utkarash2991
marked this pull request as draft
July 27, 2026 09:52
Member
|
|
supautils v3.4.0 (already on develop, #2311) ships supautils.restrict_extension_versions (off|warn|error, default off). Set it to warn in supautils.conf.j2: CREATE/ALTER EXTENSION version clauses from non-superuser roles are ignored with a WARNING and the extension's default_version is used instead. Superusers and supabase_admin (via privileged_extensions_superuser) are exempt. warn is rollout phase 1: fleet log warnings measure explicit-version usage before the separately-announced flip to error. Bumps postgres_release for fresh AMIs. Announcement (effective 2026-08-05): supabase/changelog#128 Linear: PSQL-1159
The pg_regress suite runs against the rendered supautils.conf.j2 (via start-postgres-server) with migrations applied, so the new conf setting is asserted in the same PR that makes it: as the non-superuser postgres role a CREATE EXTENSION version clause is ignored with a WARNING and the default version is installed; supabase_admin (the configured privileged_extensions_superuser) keeps version pinning, warning-free. Skipped on the CLI variant, which lacks the postgres role (same as pg_net_worker_privileges).
utkarash2991
force-pushed
the
utkarashsingh/psql-1159-merge-released-supautils-into-ami-and-test
branch
from
July 28, 2026 09:28
2134fa6 to
063714a
Compare
Contributor
Author
Member
|
Oops, I meant https://github.com/supabase/postgres/pull/2319/changes |
…pautils-into-ami-and-test
…pautils-into-ami-and-test
…pautils-into-ami-and-test
…pautils-into-ami-and-test
utkarash2991
marked this pull request as ready for review
August 3, 2026 04:46
utkarash2991
enabled auto-merge
August 3, 2026 12:26
za-arthur
approved these changes
Aug 3, 2026
utkarash2991
deleted the
utkarashsingh/psql-1159-merge-released-supautils-into-ami-and-test
branch
August 3, 2026 14:53
hunleyd
added a commit
that referenced
this pull request
Aug 8, 2026
…c-spool-path-defaults-onto-the-10gb-root-volume * origin/develop: (26 commits) Lots of bootstrap script clean ups (#2326) ci: Fix nix-build PUSH_TO_CACHE (#2345) ci/nix-install-ephemeral: Drop sticky disk config (#2346) chore: bump postgres_release to cut fresh AMIs (includes #2334) (#2349) fix(multigres): stop base config data_directory from overriding pooler data dir (#2344) fix(cron): remove unnecessary TRIGGER grant on cron.job_run_details from postgres (#2334) chore: enable extension version restriction (warn) and cut AMIs (#2315) feat(nix): add site-env packages for rolling instance updates (#2283) ci: resolve package install sha from a flake input override (#2327) fix(multigres): remove dangling wal-g include from postgresql.conf (#2338) fix: Allow test CI pipelines to use old Int CA access. For staging only (#2330) chore(nix): remove maintainers field from package definitions (#2280) chore: bump multigres to b713432 (#2323) ci: Use arm-native-runner for kvm builds on aarch64-linux (#2319) Whole lot of ansible clean up (#2272) fix(ansible): drop no-op zpool loop item from zswap task (#2322) ci: Fix dockerhub-release-matrix matrix generation (#2320) chore: bump pgctld (#2318) fix(ansible): skip zswap params the kernel does not expose (#2321) feat(docker): add Dockerfile-supabase base image and rewrite Dockerfile-multigres as layered image (#2160) ...
hunleyd
added a commit
that referenced
this pull request
Aug 8, 2026
…nix-pkg-for-pgbackrest * origin/develop: (36 commits) Lots of bootstrap script clean ups (#2326) ci: Fix nix-build PUSH_TO_CACHE (#2345) ci/nix-install-ephemeral: Drop sticky disk config (#2346) chore: bump postgres_release to cut fresh AMIs (includes #2334) (#2349) fix(multigres): stop base config data_directory from overriding pooler data dir (#2344) fix(cron): remove unnecessary TRIGGER grant on cron.job_run_details from postgres (#2334) chore: enable extension version restriction (warn) and cut AMIs (#2315) feat(nix): add site-env packages for rolling instance updates (#2283) ci: resolve package install sha from a flake input override (#2327) fix(multigres): remove dangling wal-g include from postgresql.conf (#2338) fix: Allow test CI pipelines to use old Int CA access. For staging only (#2330) chore(nix): remove maintainers field from package definitions (#2280) chore: bump multigres to b713432 (#2323) ci: Use arm-native-runner for kvm builds on aarch64-linux (#2319) Whole lot of ansible clean up (#2272) fix(ansible): drop no-op zpool loop item from zswap task (#2322) ci: Fix dockerhub-release-matrix matrix generation (#2320) chore: bump pgctld (#2318) fix(ansible): skip zswap params the kernel does not expose (#2321) feat(docker): add Dockerfile-supabase base image and rewrite Dockerfile-multigres as layered image (#2160) ...
hunleyd
added a commit
that referenced
this pull request
Aug 8, 2026
…chiving-on-customer-tier * origin/develop: (36 commits) Lots of bootstrap script clean ups (#2326) ci: Fix nix-build PUSH_TO_CACHE (#2345) ci/nix-install-ephemeral: Drop sticky disk config (#2346) chore: bump postgres_release to cut fresh AMIs (includes #2334) (#2349) fix(multigres): stop base config data_directory from overriding pooler data dir (#2344) fix(cron): remove unnecessary TRIGGER grant on cron.job_run_details from postgres (#2334) chore: enable extension version restriction (warn) and cut AMIs (#2315) feat(nix): add site-env packages for rolling instance updates (#2283) ci: resolve package install sha from a flake input override (#2327) fix(multigres): remove dangling wal-g include from postgresql.conf (#2338) fix: Allow test CI pipelines to use old Int CA access. For staging only (#2330) chore(nix): remove maintainers field from package definitions (#2280) chore: bump multigres to b713432 (#2323) ci: Use arm-native-runner for kvm builds on aarch64-linux (#2319) Whole lot of ansible clean up (#2272) fix(ansible): drop no-op zpool loop item from zswap task (#2322) ci: Fix dockerhub-release-matrix matrix generation (#2320) chore: bump pgctld (#2318) fix(ansible): skip zswap params the kernel does not expose (#2321) feat(docker): add Dockerfile-supabase base image and rewrite Dockerfile-multigres as layered image (#2160) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
supautils.restrict_extension_versions = 'warn'insupautils.conf.j2(GUC shipped in supautils v3.4.0, already on develop via chore: bump supautils to 3.4.0 #2311): CREATE/ALTER EXTENSION version clauses from non-superuser roles are ignored with a WARNING anddefault_versionis installed. Superusers andsupabase_admin(viaprivileged_extensions_superuser) are exempt.postgres_releaseto cut fresh AMIs.nix/tests/sql/supautils_restrict_versions.sqlruns in the pg_regress harness, which loads the renderedsupautils.conf.j2with migrations applied (viastart-postgres-server) — asserts the warn behavior as the non-superuserpostgresrole and the warning-free exemption forsupabase_admin. (Skipped on the CLI variant, which lacks thepostgresrole.) The supautils regress suite covers the GUC logic itself; this covers the platform wiring.warnis rollout phase 1: fleet log warnings measure explicit-version usage before the separately-announcederrorflip. Public announcement (effective 2026-08-05): https://github.com/supabase/changelog/pull/128 — companion supabase/salt#717 covers the existing fleet.PSQL-1159