-
-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Labels
bugSomething isn't workingSomething isn't working
Description
You get the following error when running a query using any with parameters. Something similar to ... where [column name] = any ( $1)....
query error: ERROR: expected right child to be a DoltgresType but got `*expression.BindVar` (errno 1105) (sqlstate HY000) (SQLSTATE XX000)
I don't believe there's a reliable way to run prepared statements in shells like psql, so a repro & instructions can be found here.
The specific typecast that is failing can be found here. In particular, it seems to me that we need some method of resolving the type of the parameter early on, or cleanly delaying that process.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working