PgDog version
main
Description
We rewrite all PARSE and EXECUTE statements to simple queries when executing them on the
servers. This doesn't work if they are sent via extended protocol because client expects an extended protocol reply.
Configuration
[general]
prepared_statements = "full"
Pseudocode:
let query = sqlx::prepare("PREPARE stmt1 AS SELECT $1").await;
sqlx::execute(query).await;
let query = sqlx::prepare("EXECUTE stmt1($1)").await;
sqlx::execute(query).bind(5);
Honestly, if you're doing this, you have bigger issues, but this exchange is technically legal, so...
PgDog version
mainDescription
We rewrite all
PARSEandEXECUTEstatements to simple queries when executing them on theservers. This doesn't work if they are sent via extended protocol because client expects an extended protocol reply.
Configuration
Pseudocode:
Honestly, if you're doing this, you have bigger issues, but this exchange is technically legal, so...