Restore true 0.1.0 SQL; move default_version to 'stable' - #12
Merged
jnasbyupgrade merged 1 commit intoJul 31, 2026
Merged
Conversation
sql/object_reference--0.1.0.sql had drifted from the actual PGXN-published 0.1.0 release: default_version was never bumped past 0.1.0 despite years of ongoing development, so pgxntool's build kept regenerating this "frozen" file from the current, ever-changing sql/object_reference.sql instead of it staying a true historical record. Verified against the real distribution downloaded from PGXN (pgxn download object_reference==0.1.0 --unstable) and restored its actual content. default_version is now 'stable', a non-numeric version alias -- supported since pgxntool 2.2.0 fixed extract_version_from_filename() to stop rejecting aliases like this (Postgres-Extensions/pgxntool#57). This avoids picking an arbitrary next semver number and lets the "current" version track ongoing development under a stable name instead. Verified end-to-end on PG12: `make`, `make install`, `make pgtle`, and CREATE EXTENSION ... CASCADE all work correctly with default_version = 'stable'; `make test` shows no new failures versus plain master (the only diffs are pre-existing, unrelated to this change: cat_tools deprecation-warning noise from a locally-built newer cat_tools, and a pre-existing gap where partitioned table/index aren't yet covered by the "all object types" test).
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
jnasbyupgrade
merged commit Jul 31, 2026
fd2bde6
into
Postgres-Extensions:master
1 of 2 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
sql/object_reference--0.1.0.sqlhad drifted from the actual PGXN-published 0.1.0 release, sincedefault_versionwas never bumped past 0.1.0 despite substantial ongoing development -- pgxntool's build kept regenerating this supposedly-frozen file from the currentsql/object_reference.sql. Downloaded the real 0.1.0 distribution from PGXN (pgxn download object_reference==0.1.0 --unstable) and restored its actual content as the true historical record.default_versionto'stable', a non-numeric version alias -- supported since pgxntool 2.2.0 fixedextract_version_from_filename()to stop rejecting aliases like this (pgtle.sh: extract_version_from_filename() rejects non-numeric version aliases like 'stable' pgxntool#57). Avoids picking an arbitrary next semver number for ongoing development.Test plan
sql/object_reference--0.1.0.sqlagainst the real PGXN 0.1.0 distributionmake,make install,make pgtleall work correctly withdefault_version = 'stable'CREATE EXTENSION object_reference CASCADEworks and reports versionstablein\dxmake teston PG12: no new failures vs. plainmaster-- remaining diffs are pre-existing and unrelated (cat_tools deprecation-warning noise from a locally-built newer cat_tools since PGXN's published cat_tools is stuck at a broken 0.2.1; a pre-existing gap where partitioned table/index aren't yet covered by the "all object types" test)