Skip to content

CI: build and test hstore_plphp alongside the other transforms#35

Merged
jdatcmd merged 2 commits into
masterfrom
ci/hstore-plphp
Jul 7, 2026
Merged

CI: build and test hstore_plphp alongside the other transforms#35
jdatcmd merged 2 commits into
masterfrom
ci/hstore-plphp

Conversation

@jdatcmd

@jdatcmd jdatcmd commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

hstore_plphp shipped in 2.5.0 but was never actually wired into CI: the
workflow only built and installchecked jsonb_plphp (and now bytea_plphp).
So the "hstore green across the matrix" claim was really only ever verified
locally.

This adds hstore_plphp to both the PG 11-18 matrix job and the ASAN job,
mirroring the existing jsonb_plphp/bytea_plphp steps (build + install +
installcheck + failure diffs). The hstore contrib extension it depends on
ships in the postgresql-N package CI already installs (verified per version:
hstore.control is provided by postgresql-{11,15,18}), so no extra apt
dependency is required.

Now all three transform companions are exercised across the full matrix.

🤖 Generated with Claude Code

ChronicallyJD and others added 2 commits July 6, 2026 20:50
hstore_plphp shipped in 2.5.0 but was never wired into CI: only
jsonb_plphp (and now bytea_plphp) were built and installchecked. Add
hstore_plphp to both the PG 11-18 matrix job and the ASAN job, mirroring
the jsonb_plphp/bytea_plphp steps. The hstore contrib extension it depends
on ships in the postgresql-N package CI already installs, so no extra
apt dependency is needed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Wiring hstore_plphp into CI surfaced that its test passed only on PG 18:
PG 11-17 failed on the final DROP EXTENSION ... CASCADE, whose NOTICE lists
cascaded objects in a version-dependent way (PostgreSQL records TRANSFORM
dependencies differently across releases, so the count and ordering differ).
Every other line of the test was already identical across versions.

Silence the cascade NOTICE with client_min_messages = warning around the
teardown and regenerate the expected output. This matches how the jsonb_plphp
test avoids the issue (it drops its functions explicitly rather than via
CASCADE).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jdatcmd jdatcmd merged commit c20b299 into master Jul 7, 2026
12 checks passed
@jdatcmd jdatcmd deleted the ci/hstore-plphp branch July 7, 2026 03:02
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.

2 participants