Skip to content

Read the catalog's own word for what is internal - #348

Merged
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:fix/internal-is-what-the-catalog-says
Aug 28, 2026
Merged

Read the catalog's own word for what is internal#348
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:fix/internal-is-what-the-catalog-says

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

The catalog states each function's classification in api, derived from its @InGroup tag: public where a group exists and is not an internal one, internal otherwise, and a function stating no group at all is internal. Deciding the same question here by matching the group's NAME re-derives that rule and gets the no-group case backwards — the string test finds nothing to match, so an internal function reads as public. That is how a call to trgeometry_merge reaches the generated surface: the function states no group, the catalog calls it internal, the name test lets it through, and the extension fails to compile against a symbol only a private MEOS header declares (run 33159507103). supported() reads the field the catalog computed. The emitted surface is unchanged at the recorded _MEOS_REF — the same 5851 registrations, not one SQL name added or removed — and against a newer catalog supported() answers internal for trgeometry_merge where it answers nothing today, while temporal_merge stays emittable.

The catalog states each function's classification in `api`, derived from its
@InGroup tag: public where a group exists and is not an internal one,
internal otherwise, and a function stating no group at all is internal.
Deciding the same question here by matching the group's NAME re-derives that
rule and gets the no-group case backwards — the string test finds nothing to
match, so an internal function reads as public.

That is how a call to trgeometry_merge reached the generated surface: the
function states no group, the catalog calls it internal, the name test let it
through, and the extension failed to compile against a symbol only a private
MEOS header declares. supported() now reads the field the catalog computed.

The emitted surface is unchanged at the recorded _MEOS_REF — the same 5851
registrations and not one SQL name added or removed — and on a newer catalog
supported() answers `internal` for trgeometry_merge where it answered nothing
before, while temporal_merge stays emittable.
@estebanzimanyi
estebanzimanyi merged commit 90e0b64 into MobilityDB:main Aug 28, 2026
10 checks passed
@estebanzimanyi
estebanzimanyi deleted the fix/internal-is-what-the-catalog-says branch August 28, 2026 13:41
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