Skip to content

Update pgxntool to 2.2.0 (release tag) - #9

Merged
jnasbyupgrade merged 5 commits into
Postgres-Extensions:masterfrom
jnasbyupgrade:pgxntool-update-2.2.0
Jul 29, 2026
Merged

Update pgxntool to 2.2.0 (release tag)#9
jnasbyupgrade merged 5 commits into
Postgres-Extensions:masterfrom
jnasbyupgrade:pgxntool-update-2.2.0

Conversation

@jnasbyupgrade

Copy link
Copy Markdown
Contributor

Summary

  • Sync pgxntool from https://github.com/Postgres-Extensions/pgxntool.git (release tag, now at 2.2.0) via git subtree pull.
  • Run pgxntool/update-setup-files.sh to 3-way merge setup files (.gitignore picked up new ignore patterns and now tracks sql/*--*.sql version files per pgxntool's updated convention; dev-only pgxntool/.claude and pgxntool/.github dirs pruned since they're not meant to be embedded).
  • Remove test/expected/trigger.out, orphaned since 07bb68b (2017) when trigger.sql's coverage was folded into all.sql but its old expected output was never removed. pgxntool 2.2.0's new check-stale-expected check (run as part of make test) now catches this.
  • Add a local Makefile fix: force installcheck to depend on install. pgxntool 2.2.0's check-stale-expected target depends on installcheck but is listed ahead of install in TEST_DEPS, and Make evaluates a target's prerequisites in file-parse order across stanzas, so a plain make test ran installcheck before install ever happened. This works around it locally until it's fixed upstream in pgxntool itself.

Test plan

  • make — builds cleanly, no stale targets
  • make testcheck-stale-expected and install-ordering issues are resolved; remaining test diffs are unrelated deprecation-warning noise from a cat_tools version mismatch in the local sandbox, not caused by this change

b67064b Release 2.2.0 (#77)
d949d6d Fix stale README/CLAUDE.md docs; rename internal-only test shim (#76)
6d7822c ci: grant actions:write so bun cache save succeeds (#75)
2738f59 README.asc: fix stale docs, document undocumented API surface (#74)
d1d3bee Add make pgxntool-version to print the embedded pgxntool version (#73)
493a0f8 Fix parallel-build SQL corruption, remote hardcoding, and add safety checks (#61)
3b0e3de Fix make pgtle PGTLE_VERSION=X being silently ignored (#66)
21b35ef ci: skip paired-test-PR requirement for doc-only PRs (#71)
55efd03 Rename EXTENSION_VERSION_FILES to EXTENSION__CURRENT_VERSION__FILES (#69)
9d0a856 Fix pgtle.sh rejecting non-numeric version aliases like 'stable' (#57) (#63)
9c2f75f Docs: versioned SQL file tracking tradeoffs and update-testing pattern (#60)
c38cf2a ci: never check out fork PR head in claude-code-review pull_request_target job (#70)
aab8f2b pgtle_versions.md: fix wrong uninstall_extension() version claim (#59)
e2c9174 README.asc: make tag creates a git tag, not a branch (#58)
eb84bc6 Stamp 2.1.0
9fbe6f4 Fix results ordering, control file whitespace, ENABLE_* override, debug levels (#31)
88bb4f2 Add Claude Code GitHub Actions workflows (#41)
af5bbbb ci: pass repo owners to run-tests.yml for fork-account matching (#40)
c7928af Fix repo-root guard to work inside a git worktree (#39)
b062fca ci: point reusable test workflow at @master
b6cdbfd Add CI workflows and multi-session PR guard (#33)
1ba0987 Stamp 2.0.3
1931cbe Fix pgxntool-sync remote and make it runnable without make (#37)
8176304 Stamp 2.0.2
3e142ab Fix parse_control_file: remove comments before stripping quotes (#27)
cacc301 Stamp 2.0.1
bf1db6b Fix bash 3.2 / Linux compatibility issues (#26)
62d0fcb Fix broken ifeq for --load-language=plpgsql on PG < 13 (#24)
121f0b3 Stamp 2.0.0
ad3ca7e Remove .source support; add test/install, test/build, and verify-results (#18)
c010cf8 Fix bash 3.2 compatibility (#23)
abeb9d3 Remove .source file support from pg_regress integration (#22)
08c1879 Stamp 1.1.2
6e0dad2 Fix double --dbname bug that defeated unique test database names
639756c Stamp 1.1.1
6ba3176 Fix pg_tle exception handler and empty upgrade files (#15)
3b8cb2a Stamp 1.1.0
550a901 Remove commit.md (maintained in pgxntool-test)
d73ca93 Add unique test database names to prevent conflicts (#13)
9b344be Add update-setup-files.sh for 3-way merging after pgxntool-sync (#12)
ab7f6e2 Stamp 1.0.0
3a571ba Add pg_tle support and modernize test infrastructure (#11)
b96ea6d Add support for Claude code; build and doc improvements (Postgres-Extensions#9)
e9c24de Fix pg_regress on versions > 12 (Postgres-Extensions#5)
c0af00f Improvements to HISTORY.asc
6e8f2a7 Allow use of sudo when installing an extension
705f1ec Don't run clean as part of make test
370fa8e Create test/sql during setup

git-subtree-dir: pgxntool
git-subtree-split: b67064b16ca2eb30761c078511dc8c974938480f
pgxntool 2.2.0 added a check-stale-expected target that flags
test/expected/*.out files with no corresponding test/sql/*.sql. It caught
test/expected/trigger.out, orphaned since 07bb68b (2017) when trigger.sql's
coverage was folded into all.sql but the old expected output was never
removed. Delete it.

check-stale-expected also exposed a pgxntool ordering bug: it depends on
installcheck but is listed ahead of install in TEST_DEPS, and Make evaluates
a target's prerequisites in file-parse order across stanzas -- so plain
`make test` ran installcheck before install ever happened. Force installcheck
to require install locally until pgxntool fixes this upstream.
pgxntool 2.2.0's check-stale-expected target depends on installcheck but is
listed ahead of install in TEST_DEPS, and Make evaluates a target's
prerequisites in file-parse order across stanzas -- so plain `make test` ran
installcheck before install ever happened. Force the correct order locally
until pgxntool fixes this upstream.
@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 3842169a-e8b6-4942-a5b7-bb23f2671d13

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@jnasbyupgrade
jnasbyupgrade merged commit e8e251d into Postgres-Extensions:master Jul 29, 2026
1 of 2 checks passed
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