Skip to content

Update pgxntool to 2.3.0 (release tag) - #31

Merged
jnasbyupgrade merged 4 commits into
Postgres-Extensions:masterfrom
jnasbyupgrade:pgxntool-update-2.3.0
Aug 10, 2026
Merged

Update pgxntool to 2.3.0 (release tag)#31
jnasbyupgrade merged 4 commits into
Postgres-Extensions:masterfrom
jnasbyupgrade:pgxntool-update-2.3.0

Conversation

@jnasbyupgrade

Copy link
Copy Markdown
Contributor

Updates the vendored pgxntool subtree from 2.2.0 to the 2.3.0 release, which fixes make test always exiting 0 even when every test fails (issues #35/#79) and widens the DATA wildcard to install historical one-dash version scripts like sql/object_reference--0.1.0.sql (issue #48) -- both already worked around elsewhere in this repo's own history.

  • make test now correctly exits non-zero on a real regression: confirmed locally against this repo's own current, pre-existing cat_tools-0.3.0-deprecation-driven test failure -- make test now exits 2, where it previously always exited 0 with no failure signal at all.
  • make install now installs sql/object_reference--0.1.0.sql without any local Makefile workaround, since the widened DATA wildcard picks up one-dash historical version files directly.
  • No changes outside pgxntool/ were needed; update-setup-files.sh's reconciliation found .gitignore/test/deps.sql unchanged from the current pgxntool release.

The still-open PR #18 currently carries a local DATA += sql/object_reference--0.1.0.sql line and an installcheck: install ordering fix for these same two issues -- both become droppable once this merges and #18 rebases onto it.

Co-Authored-By: Claude noreply@anthropic.com

a6d3287 Release 2.3.0 (#89)
1a7ee20 CLAUDE.md: fix pre-existing documentation-accuracy errors (#88)
35fd187 Fix DATA wildcard skipping historical full-install version scripts (#48) (#80)
f9ce2a2 Fix installcheck running before install; make test now fails on regressions (#83)
3ceb930 Rename PGTLE_VERSION to PGXNTOOL_PGTLE_VERSION (#85)
2de8429 claude-code-review.yml: add missing --comment flag (#84)
957bdf6 Restrict @claude mention trigger to a trusted account (#82)
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 (Postgres-Extensions#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 (Postgres-Extensions#33)
1ba0987 Stamp 2.0.3
1931cbe Fix pgxntool-sync remote and make it runnable without make (Postgres-Extensions#37)
8176304 Stamp 2.0.2
3e142ab Fix parse_control_file: remove comments before stripping quotes (Postgres-Extensions#27)
cacc301 Stamp 2.0.1
bf1db6b Fix bash 3.2 / Linux compatibility issues (Postgres-Extensions#26)
62d0fcb Fix broken ifeq for --load-language=plpgsql on PG < 13 (Postgres-Extensions#24)
121f0b3 Stamp 2.0.0
ad3ca7e Remove .source support; add test/install, test/build, and verify-results (Postgres-Extensions#18)
c010cf8 Fix bash 3.2 compatibility (Postgres-Extensions#23)
abeb9d3 Remove .source file support from pg_regress integration (Postgres-Extensions#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 (Postgres-Extensions#15)
3b8cb2a Stamp 1.1.0
550a901 Remove commit.md (maintained in pgxntool-test)
d73ca93 Add unique test database names to prevent conflicts (Postgres-Extensions#13)
9b344be Add update-setup-files.sh for 3-way merging after pgxntool-sync (Postgres-Extensions#12)
ab7f6e2 Stamp 1.0.0
3a571ba Add pg_tle support and modernize test infrastructure (Postgres-Extensions#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: a6d3287e879c45aa0c9a32c6f9513312396c8915
Automatic step of the pgxntool-sync process -- these directories are
pgxntool's own dev tooling, not meant to be embedded into consuming
projects.
@coderabbitai

coderabbitai Bot commented Aug 10, 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: edb2b289-4a61-489d-87d9-da4ad7dfd7a6

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.

@github-actions

github-actions Bot commented Aug 10, 2026

Copy link
Copy Markdown

Claude finished @jnasbyupgrade's task in 2m 29s —— View job


Reviewing PR #31: Update pgxntool to 2.3.0

  • Gather context (PR description, diff vs origin/master, repo Makefile)
  • Review pgxntool/base.mk functional changes
  • Review vendored docs (CLAUDE.md, HISTORY.asc, README.asc/html)
  • Check whether repo-local workarounds mentioned in the PR body are affected
  • Post review

Summary

This is a clean vendor-only update (all 5 changed files are under pgxntool/, diff matches PR description: +148/-37). The two upstream fixes are real and match what's described:

  • base.mk: test: now does exit 1 after cat-ing regression.diffs on failure, instead of silently exiting 0 (fixes PR #2 content not carried into #17: README.md and META.json/META.in.json metadata fixes missing #35/#79).
  • base.mk: DATA now uses $(sort $(EXTENSION__CURRENT_VERSION__FILES) $(wildcard sql/*--*.sql)), widening the wildcard from two-dash-only (*--*--*.sql) to also match one-dash historical files like sql/object_reference--0.1.0.sql, with $(sort …) added to dedupe the now-overlapping current-version file (fixes #48).
  • base.mk: adds installcheck: install upstream and verify-results/results now depend on $(TEST_DEPS) instead of test, preserving fail-fast semantics for make test while keeping make results/verify-results able to inspect diffs after a failure.
  • PGTLE_VERSION renamed to PGXNTOOL_PGTLE_VERSION to avoid silent collision with a CI job's own PGTLE_VERSION env var (issue #78) — no usages of the old name remain in this repo (checked, none found outside pgxntool/).

Finding: root Makefile's local installcheck: install workaround is now redundant

Makefile:8-13 (top-level, not pgxntool/) already carries a local workaround added in #9 ("Update pgxntool to 2.2.0"):

# pgxntool's check-stale-expected target (added in pgxntool 2.2.0) depends on
# installcheck but is listed before 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 that's fixed upstream.
installcheck: install

pgxntool 2.3.0 (this PR) adds the exact same edge upstream in pgxntool/base.mk (installcheck: install, with its own explanatory comment). Declaring the same prerequisite twice is harmless to Make, but it's now dead weight, and the local comment's "until that's fixed upstream" is stale — it is fixed upstream, in this very PR. Worth removing Makefile:8-13 here (or in a quick follow-up) while this is fresh, the same way PR #18 plans to drop its own copy of this workaround plus its DATA += sql/object_reference--0.1.0.sql line once it rebases onto this.

Fix this →

Other notes

  • Docs-only diffs in CLAUDE.md, HISTORY.asc, README.asc, README.html are consistent with the upstream 2.3.0 release notes — nothing repo-specific to flag there.
  • DATA wildcard widening looks correct: sql/*--*.sql still matches two-dash upgrade scripts (a--b.sql) as well as one-dash full-install scripts (a.sql), and $(sort …) correctly resolves the resulting overlap with EXTENSION__CURRENT_VERSION__FILES that the PR description flags as otherwise breaking make install.
  • PR body's claims (exit code 2 on the pre-existing cat_tools failure, no changes needed outside pgxntool/) are consistent with what's in the diff; I did not re-run make test myself in this sandbox (no live Postgres instance available here) but the logic checks out by inspection.

Overall: no blocking issues. One optional cleanup suggested above (redundant installcheck: install in the root Makefile).

@jnasbyupgrade
jnasbyupgrade merged commit 6e97174 into Postgres-Extensions:master Aug 10, 2026
11 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