Skip to content

pgtle_versions.md: fix wrong uninstall_extension() version claim#59

Merged
jnasbyupgrade merged 4 commits into
Postgres-Extensions:masterfrom
jnasbyupgrade:fix-issue-54
Jul 26, 2026
Merged

pgtle_versions.md: fix wrong uninstall_extension() version claim#59
jnasbyupgrade merged 4 commits into
Postgres-Extensions:masterfrom
jnasbyupgrade:fix-issue-54

Conversation

@jnasbyupgrade

Copy link
Copy Markdown
Contributor

Fixes #54.

pgtle_versions.md claimed pgtle.uninstall_extension() was added in pg_tle 1.4.0. Checking the tagged pg_tle source directly (pg_tle--1.0.0.sql, pg_tle--1.0.1--1.0.4.sql, pg_tle--1.3.4--1.4.0.sql, pg_tle--1.4.0--1.5.0.sql) shows:

  • uninstall_extension(extname text) and the (extname text, version text) overload have both existed unchanged since v1.0.0
  • The 1.0.1-1.0.4 change was a body-only update to the two-arg overload (default-version protection logic), not a new overload
  • The actual 1.4.0 release only changed create_base_type() (added alignment/storage params) — no install/uninstall change
  • The real install/uninstall API break is at 1.5.0, where install_extension() gains a required schema parameter

Corrected the 1.0.0-1.4.0 / 1.4.0-1.5.0 range descriptions and the "Key API Changes by Version" section to reflect this. Doesn't change any generated SQL or code — the version-range split pgxntool uses is still correct, only the doc's stated rationale was wrong.

Doc-only change, no code changes.

…ostgres-Extensions#54)

pgtle_versions.md claimed `pgtle.uninstall_extension()` was added in
pg_tle 1.4.0. Checking the tagged pg_tle source directly shows it has
existed unchanged since v1.0.0 (both the one-arg and two-arg
overloads). The only relevant 1.4.0 change was `create_base_type()`
gaining alignment/storage parameters; the real install/uninstall API
break is at 1.5.0, where `install_extension()` gains a required
`schema` parameter.

Changes only in pgxntool. No related changes in pgxntool-test.

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 26, 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: 4f425be4-2609-45ff-964b-417bd8be1507

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
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

…ions

Per PR59 review: uninstall_extension() never changes across these version
ranges, so it doesn't belong in a doc about version boundaries. Also drop
the historical correction narrative (what was previously documented, how
it was confirmed) - the file should describe current API state only.
Stating 'install_extension() still has no schema parameter' in ranges
where it doesn't change is the same problem as the uninstall_extension()
mentions just removed - this doc documents API changes, not unchanged
state. Only note an API bullet where something actually changed at that
boundary.
- Drop '(see Features above)' cross-reference - no other entry does this
  and it's 11 lines from the section it points to
- Make '1.5.0' header bare and list 'Changed install_extension() signature'
  as its own bullet, matching the list-item structure of the other two
  facts under it
@jnasbyupgrade
jnasbyupgrade merged commit aab8f2b into Postgres-Extensions:master Jul 26, 2026
3 of 4 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.

pgtle_versions.md: uninstall_extension() claimed added in 1.4.0, but present since 1.0.0

1 participant