risinglightdb/sqllogictest-rs

support parameterized query in Postgres extended query protocol

Opened this issue · 0 comments

We have the basic support for Postgres extended query protocol. However, as there is no SLT syntax available for the individual steps of Parse and Bind, we always query with a full SQL and no parameters.

let stmt = self.client.prepare(sql).await?;
let rows = self
.client
.query_raw(&stmt, std::iter::empty::<&(dyn ToSql + Sync)>())
.await?;