You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The creation of prepared statements requires in some cases to provide the type of parameters, e.g PostgreSQL can optionally use them and provide an adequate binding (like the query SELECT CONCAT("hello ", $1)) otherwise it would fail.
We should prepare statements without types and upon specific failures (e.g 42P18INDETERMINATE DATATYPE) retry with the types.
The preparation/execution flow should be reworked to do this. This affects prepared queries and one shot queries.
The text was updated successfully, but these errors were encountered:
The creation of prepared statements requires in some cases to provide the type of parameters, e.g PostgreSQL can optionally use them and provide an adequate binding (like the query
SELECT CONCAT("hello ", $1)
) otherwise it would fail.We should prepare statements without types and upon specific failures (e.g
42P18
INDETERMINATE DATATYPE) retry with the types.The preparation/execution flow should be reworked to do this. This affects prepared queries and one shot queries.
The text was updated successfully, but these errors were encountered: