Skip to content
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.

Oid resolve of array datatype in prepared statements #45

Open
bjne opened this issue May 18, 2017 · 0 comments
Open

Oid resolve of array datatype in prepared statements #45

bjne opened this issue May 18, 2017 · 0 comments

Comments

@bjne
Copy link

bjne commented May 18, 2017

It is currently not possible to use for example "text[]" as a datatype in prepared statements.

HeapTuple typetup = typenameType(NULL, makeTypeNameFromNameList(namelist), NULL);

exits with: "ERROR: type "text[]" does not exist"

It seems like array types should be converted from "text[]" to "_text" before sending to luaP_gettypeoid
or actually, luaP_gettypeoid should be replaced more or less by parseTypeString()

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant