Skip to content

Map no GSL type in the generated bindings - #33

Merged
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:build/no-gsl
Oct 27, 2026
Merged

estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:build/no-gsl

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

MEOS draws its random numbers from the pg_prng generators of PostgreSQL, and
no catalog function takes or returns a gsl_rng. The generator maps no gsl_rng
to a Go handle, and its README lists none among the handle types.

Measured: against the libmeos of MobilityDB a23e01a60b, the regenerated
packages equal main's, 3994 flat wrappers and 1435 methods; the functions and
types packages build, the portable-parity test and the gomeos examples pass.

Why: a binding maps the types MEOS declares.

MEOS draws its random numbers from the pg_prng generators of PostgreSQL, and
no catalog function takes or returns a gsl_rng. The generator maps no gsl_rng
to a Go handle, and its README lists none among the handle types.

Measured: against the libmeos of MobilityDB a23e01a60b, the regenerated
packages equal main's, 3994 flat wrappers and 1435 methods; the functions and
types packages build, the portable-parity test and the gomeos examples pass.

Why: a binding maps the types MEOS declares.
@estebanzimanyi
estebanzimanyi merged commit fbf003a into MobilityDB:main Oct 27, 2026
2 checks passed
@estebanzimanyi
estebanzimanyi deleted the build/no-gsl branch October 27, 2026 16:40
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