TiDB-for-PostgreSQL
TiDB-for-PostgreSQL copied to clipboard
Parameter processing in bind message
Development Task
In the extend query, backend server will get parameter values through the bind messages. And tidb-server will use the datum structure to store the values of these parameters.
The datum is only used to store value of mysql data type and each type will have a different datum to store in TiDB.
We need to parse the bind message and store the parameter values in different datum according to different types. That is to improve the function parseBindArgs.
Related Files
server/conn_stmt.go