Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outdated name_of_type #111

Open
NightBlues opened this issue Jun 10, 2021 · 0 comments
Open

Outdated name_of_type #111

NightBlues opened this issue Jun 10, 2021 · 0 comments

Comments

@NightBlues
Copy link

Function https://github.com/darioteixeira/pgocaml/blob/master/src/PGOCaml_generic.ml#L1535 helps ppx to guess types, but it seems that in newer versions of postgres oids have changed, for example json[] is not oid 119 - its now 199:
https://github.com/postgres/postgres/blob/REL_12_STABLE/src/include/catalog/pg_type.dat#L139
May be this function should be passed as a parameter to ppx (dont now how exactly)?

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

No branches or pull requests

1 participant