Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
29e24ec
chore: fix missing required `teams` meta attribute
jfroche Jul 7, 2025
7ab021a
chore: update old (unsupported) version of nix used in script
jfroche Jul 7, 2025
2bc4fac
fix: overlay and use our `buildPgrxExtension` function
jfroche Jul 7, 2025
38733dc
chore: fix formatting
jfroche Jul 7, 2025
698128e
chore: replace (deprecated) `substituteAll` by `replaceVars`
jfroche Jul 7, 2025
ee8bc15
chore: update (and refactor) flake inputs
jfroche Jul 7, 2025
66a8e1b
chore: bump `pgrouting` version to 3.8.0
yvan-sraka Jul 11, 2025
05def12
fix: backport tzdata fixes for postgresql 15
jfroche Jul 18, 2025
b620290
fix: plv8 3.1 requires older v8
jfroche Jul 21, 2025
970409a
chore: update fmt
jfroche Aug 10, 2025
7b638ae
chore: update cargo-pgrx 1.14.3 cargo hash
jfroche Jul 21, 2025
6354c75
chore(postgresql): add isOrioleDB condition
jfroche Jul 21, 2025
b09c896
fix: pgregress tests
jfroche Jul 21, 2025
e342945
fix: update schema for dbmate schema_migrations table
jfroche Jul 22, 2025
02c6ada
Structured attributes are now required when building with separateDeb…
jfroche Aug 11, 2025
f59d850
chore: version bump
samrose Sep 2, 2025
b86ceee
fix: rebase on develop and fix code api changes from nixpkgs
samrose Sep 9, 2025
400304c
tests: try to get passing tests
samrose Sep 10, 2025
361116d
feat: pin icu75 for postgres build to maintain compat with existing
samrose Sep 11, 2025
559d0a7
chore: remove commented out code not needed in latest changes to pg
samrose Sep 11, 2025
53efc5e
fix: apparently incorrectly rebased changes, and % nix fmt
yvan-sraka Nov 19, 2025
b29dbef
chore: remove nixpkgs-pgbackrest input, and % nix flake update
yvan-sraka Nov 25, 2025
4b93976
fix: replace deprecated v8 package, and wrong packages arguments
yvan-sraka Nov 19, 2025
acfac05
chore: fix formatting
jfroche Nov 25, 2025
c75167c
fix(darwin): remove reference to apple-sdk
jfroche Nov 25, 2025
e36c2ba
fix(ext): missing required attributes in some extension tests
jfroche Nov 26, 2025
cd17c8c
chore: % nix flake update && nix fmt
yvan-sraka Dec 9, 2025
377e4e4
fix(orioledb): fixed installedExtensions reference to use proper self…
yvan-sraka Dec 9, 2025
b19f63d
fix(postgresql): remove redundant patch substitutions
yvan-sraka Dec 9, 2025
7ca92a7
fix(pgrx): remove deprecated darwin.apple_sdk.frameworks.Security
yvan-sraka Dec 9, 2025
bf5d838
fix(postgis): remove custom sfcgal package dependency
yvan-sraka Dec 9, 2025
b50dd3c
fix(pg_net): pin curl to older nixpkgs version
yvan-sraka Dec 9, 2025
8cd2c29
fix(pgrx): error: multiple input filenames provided
yvan-sraka Dec 9, 2025
2f6aaed
fix(tests): updated test expectations
yvan-sraka Dec 9, 2025
50bf7c6
feat: (re)add check_pg_regress method to PostgresExtensionTest
yvan-sraka Dec 9, 2025
5ec863b
refactor: replace fetchTarball with flake input for nixpkgs-oldstable
yvan-sraka Dec 9, 2025
852de5c
fix(pg_net): disable dangling-assignment warning for v0.19.5 on aarch…
yvan-sraka Dec 9, 2025
4a405e1
fix(plv8): add headerpad_max_install_names for macOS builds
yvan-sraka Dec 9, 2025
782ac51
fix(tests): correct library naming and symlinks for background worker…
yvan-sraka Dec 9, 2025
5a2422f
refactor(exts): replace nixpkgs-oldstable with specific overlay packages
yvan-sraka Dec 9, 2025
88ee32c
fix: restore revision support for orioledb builds (introduced it #1880)
yvan-sraka Dec 9, 2025
cfb2a51
fix(exts): remove old files that were moved to subdirectories
yvan-sraka Dec 9, 2025
763711f
fix(flake): remove nixpkgs-go124 and nix-fast-build dependencies
yvan-sraka Dec 9, 2025
5ca6c80
fix(flake): update flake.lock and cargo-pgrx hashes
yvan-sraka Dec 9, 2025
b14ecf9
fix(exts): remove remaining duplicated files
yvan-sraka Dec 9, 2025
ac8933a
refactor(pgrx): conditionally apply rustc wrapper when < 0.12
yvan-sraka Dec 9, 2025
487661a
refactor(nixpkgs): use let binding for oldstable instead of overlay
yvan-sraka Dec 9, 2025
387b4ae
refactor(groonga): move groonga package to pgroonga extension
yvan-sraka Dec 9, 2025
0d18dca
fix(ansible): remove supabase-groonga from package install list
yvan-sraka Dec 11, 2025
eeddbbe
Revert "fix(ansible): remove supabase-groonga from package install list"
yvan-sraka Dec 12, 2025
6cce514
Revert "refactor(groonga): move groonga package to pgroonga extension"
yvan-sraka Dec 12, 2025
b547e75
fix(darwin): remove deprecated apple_sdk frameworks from supascan
yvan-sraka Dec 12, 2025
413d779
chore: bump version suffix to test
yvan-sraka Dec 11, 2025
351f9dd
chore: bump to retest
samrose Dec 12, 2025
bb343d8
chore: suffix to test
samrose Dec 16, 2025
8f2ea4a
chore: bump to test
samrose Dec 17, 2025
42b0c29
feat: update nixpkgs and fix plpgsql-check build with gcc 15
jfroche Jan 5, 2026
8115b54
fix: nix version update
jfroche Jan 5, 2026
8ee0403
fix: replace all deprecated system attribute usages
jfroche Jan 5, 2026
fa26b67
chore: bump versions for testing
jfroche Jan 6, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ansible/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ postgres_major:

# Full version strings for each major version
postgres_release:
postgresorioledb-17: "17.6.0.024-orioledb"
postgres17: "17.6.1.067"
postgres15: "15.14.1.067"
postgresorioledb-17: "17.6.0.024-orioledb-update-nixpkgs-6"
postgres17: "17.6.1.067-update-nixpkgs-6"
postgres15: "15.14.1.067-update-nixpkgs-6"
Comment on lines +13 to +15
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Search for references to these version strings and postgres_release usage
echo "=== Searching for '-update-nixpkgs-6' references ==="
rg -n "update-nixpkgs-6" --type yaml --type yml

echo "=== Searching for 'postgres_release' usage ==="
rg -n "postgres_release" --type yaml --type yml -A 2

echo "=== Searching for version strings in shell/deployment scripts ==="
rg -n "postgresorioledb-17|postgres17|postgres15" --type sh --type yaml --type yml | head -30

echo "=== Looking for related version identifiers with '-update-nixpkgs' ==="
rg -n "update-nixpkgs" --type yaml --type yml

echo "=== Checking for any release or version documentation ==="
fd -e md -e txt | xargs rg -l "postgre.*version|release.*version" 2>/dev/null | head -10

Repository: supabase/postgres

Length of output: 763


🏁 Script executed:

#!/bin/bash
# Read the ansible/vars.yml file to see context
echo "=== Contents of ansible/vars.yml ===" 
cat -n ansible/vars.yml 2>/dev/null || echo "File not found"

echo ""
echo "=== Searching for postgres_release (all file types) ==="
rg -n "postgres_release" -A 2 -B 2 2>/dev/null | head -40

echo ""
echo "=== Checking git status to see if file is new/modified ==="
git log --oneline -n 1 -- ansible/vars.yml 2>/dev/null || echo "Not in git"

echo ""
echo "=== Searching for any YAML variable definitions ==="
fd -e yaml -o -e yml 2>/dev/null | head -10

echo ""
echo "=== Looking for vars files broadly ==="
find . -name "*vars*" -type f 2>/dev/null | grep -E "\.(yml|yaml|sh)$" | head -15

Repository: supabase/postgres

Length of output: 3679


🏁 Script executed:

#!/bin/bash
echo "=== Git history of ansible/vars.yml (last 10 commits) ==="
git log --oneline -n 10 -- ansible/vars.yml

echo ""
echo "=== Recent changes to postgres_release versions ==="
git log -p -n 5 -- ansible/vars.yml | head -100

echo ""
echo "=== Examining build-test-ami.nix usage ==="
cat -n nix/packages/build-test-ami.nix | sed -n '90,110p'

echo ""
echo "=== Search for other references to postgres_release ==="
rg -n "postgres_release" -B 2 -A 2

echo ""
echo "=== Check for any deployment/provisioning scripts that use these versions ==="
fd -type f -name "*.sh" -o -name "*.nix" | xargs rg -l "PG_VERSION|postgres.*version" | head -10

Repository: supabase/postgres

Length of output: 2449


🏁 Script executed:

#!/bin/bash
echo "=== Search for version format documentation ==="
rg -n "version.*format|version.*scheme|postgres.*version" nix/docs/ -A 2 -B 2

echo ""
echo "=== Check README files for version info ==="
rg -n "postgres_release|version.*string" README.md CONTRIBUTING.md 2>/dev/null || echo "Not found in main docs"

echo ""
echo "=== Look for examples of postgres versions without test suffixes ==="
rg -n "postgres.*[0-9]+\.[0-9]+\.[0-9]+" --no-heading | grep -v "update-nixpkgs" | head -20

echo ""
echo "=== Check git diff to see what changed in this commit ==="
git show fa26b67 --stat

echo ""
echo "=== Full diff of the version bump commit ==="
git show fa26b67

Repository: supabase/postgres

Length of output: 50378


Revert test version suffixes before merge.

The version strings in lines 13-15 contain the -update-nixpkgs-6 suffix, which the git commit message confirms are test identifiers ("chore: bump versions for testing"). These versions are consumed by the AMI build pipeline (nix/packages/build-test-ami.nix) and will cause build failures if the suffixed versions don't exist in artifact registries. Revert to base version strings:

  • "17.6.0.024-orioledb" (from "17.6.0.024-orioledb-update-nixpkgs-6")
  • "17.6.1.067" (from "17.6.1.067-update-nixpkgs-6")
  • "15.14.1.067" (from "15.14.1.067-update-nixpkgs-6")
🤖 Prompt for AI Agents
In @ansible/vars.yml around lines 13 - 15, The version values for keys
postgresorioledb-17, postgres17 and postgres15 include a test suffix
"-update-nixpkgs-6" that will break the AMI build; revert those three strings to
their canonical base versions by removing the "-update-nixpkgs-6" suffix so they
become "17.6.0.024-orioledb" for postgresorioledb-17, "17.6.1.067" for
postgres17 and "15.14.1.067" for postgres15.


# Non Postgres Extensions
pgbouncer_release: 1.19.0
Expand Down
231 changes: 48 additions & 183 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading