Skip to content

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

Description

@jnasbyupgrade

`pgxntool/pgtle_versions.md` states, for the `1.0.0-1.4.0` version range:

API: No `pgtle.uninstall_extension()` function, no schema parameter

and for `1.4.0-1.5.0`:

API: Added `pgtle.uninstall_extension()` function, no schema parameter

This isn't accurate. Checking the tagged pg_tle source directly:

```
git show v1.0.0:pg_tle--1.0.0.sql | grep -A2 'FUNCTION uninstall_extension'
```

shows `pgtle.uninstall_extension(extname text)` has existed unchanged since v1.0.0. What actually changed between v1.0.1 and v1.0.4 (still within the `1.0.0-1.4.0` bucket) is a second overload, `uninstall_extension(extname text, version text)`, being added -- not the base function's introduction at 1.4.0.

This doesn't affect the correctness of the registration SQL pgxntool generates (the version-range split is still valid for the schema-parameter breaking change), but the doc's stated rationale for the 1.0.0-1.4.0 / 1.4.0-1.5.0 split is wrong and could mislead anyone relying on it to reason about API compatibility.

Found while researching pg_tle version compatibility for cat_tools (Postgres-Extensions/cat_tools#47).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions