Skip to content

Update pgxntool to 2.0.2 - #1

Closed
jnasbyupgrade wants to merge 34 commits into
masterfrom
update-pgxntool-2.0.2
Closed

Update pgxntool to 2.0.2#1
jnasbyupgrade wants to merge 34 commits into
masterfrom
update-pgxntool-2.0.2

Conversation

@jnasbyupgrade

Copy link
Copy Markdown
Owner

Updates the vendored pgxntool subtree to release tag 2.0.2 (commit 81763048198c5927e89053135a496969bceb3bcf).

How

Synced via the repo's make pgxntool-sync recipe (git subtree pull -P pgxntool --squash + pgxntool/update-setup-files.sh), with the remote overridden to https://github.com/Postgres-Extensions/pgxntool.git release. The override is necessary because the vendored pgxntool/base.mk still points pgxntool-sync-release at the retired git@github.com:decibel/pgxntool.git SSH remote, which is dead.

Conflicts + resolution

  • pgxntool/pgtle.sh conflicted during the subtree merge: the repo carried a local hotpatch (9c44b6f, "Fix invalid bash array syntax ${#arr[@]:-0}${#arr[@]}") against the same array-emptiness bug that upstream 2.0.2 now fixes properly via the new array_not_empty() helper in lib.sh. Upstream's fix supersedes the hotpatch, and the conflicting hunks were pure framework code (debug statements + array checks) with nothing repo-specific to preserve, so the upstream 2.0.2 version was taken wholesale.

SETUP_FILES merge

update-setup-files.sh 3-way-merged .gitignore cleanly (no conflict markers), adding the two new pgxntool 2.0.2 ignore entries (test/build/sql/, test/install/schedule) while keeping the repo's existing content. test/deps.sql and the test/pgxntool symlink were unchanged.

Sanity check

make succeeds (Nothing to be done for 'all', exit 0). No failures from the pgxntool update.

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: e9c24de986ddc85bbd1fb3149076888d075ce100
Use of those types is not supported by pg_upgrade
Also, add missing cat_tools requirement to META.in
Also, add missing cat_tools requirement to META.in
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)

git-subtree-dir: pgxntool
git-subtree-split: 3b8cb2a96c2611bb44b1d69fd533fd0f23fa8995
Switching to pgxntool's new best practice of keeping versioned SQL files in git.
pg_identify_object_as_address() returns these as plain "table"/"index",
and pg_get_object_address() doesn't recognize "partitioned table" or
"partitioned index" at all, so the round-trip is broken.
pgxntool now assumes versioned files are checked in, so do that, but
bump our version first. Also, add 0.1.0 from pgxn.
639756c Stamp 1.1.1
6ba3176 Fix pg_tle exception handler and empty upgrade files (Postgres-Extensions#15)

git-subtree-dir: pgxntool
git-subtree-split: 639756c43a64717347b82b46acfec5be478a7bbf
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

git-subtree-dir: pgxntool
git-subtree-split: 81763048198c5927e89053135a496969bceb3bcf
@jnasbyupgrade

Copy link
Copy Markdown
Owner Author

Superseded: master already has pgxntool 2.2.0 (upstream commit e8e251d, PR Postgres-Extensions#9), which supersedes this PR's proposed update to 2.0.2. Closing without merging.

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