Skip to content

Follow a delegating wrapper to the literal it binds - #89

Merged
estebanzimanyi merged 1 commit into
MobilityDB:masterfrom
estebanzimanyi:feat/boundargs-through-shared-helper
Aug 27, 2026
Merged

Follow a delegating wrapper to the literal it binds#89
estebanzimanyi merged 1 commit into
MobilityDB:masterfrom
estebanzimanyi:feat/boundargs-through-shared-helper

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

A wrapper that names no MEOS call of its own passes the call info to a shared helper and binds the rest there: Tjsonb_object_field is Tjsonb_object_field_common(fcinfo, false) over a helper that calls tjsonb_object_field(temp, key, astext, null_handle). The pass follows that hop, matching the literals to the helper's parameters by position, so an argument of the MEOS call naming one of them resolves to the literal behind it. Each catalog entry names one wrapper, so the sibling binding the opposite literal is a separate entry and the two stay distinct. Over MobilityDB master the bound-literal count reads 153, and every literal the pass already captured keeps its value.

A wrapper that names no MEOS call of its own passes the call info to a shared
helper and binds the rest there: `Tjsonb_object_field` is
`Tjsonb_object_field_common(fcinfo, false)` over a helper that calls
`tjsonb_object_field(temp, key, astext, null_handle)`. The pass follows that
hop, matching the literals to the helper's parameters by position, so an
argument of the MEOS call naming one of them resolves to the literal behind it.

Each catalog entry names one wrapper, so the sibling binding the opposite
literal is a separate entry and the two stay distinct.

The bound-literal count over MobilityDB master reads 153 against 87, with
every previously captured literal unchanged.
@estebanzimanyi
estebanzimanyi merged commit d729ada into MobilityDB:master Aug 27, 2026
2 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.

1 participant