Convert the simple protocol and unnamed prepared statements into named prepared statements. This allows apps that don't / can't turn on prepared statements due to some driver/other limitation to take advantage of them in production, with a somewhat low overhead of parsing each query.
Example
Query(SELECT * FROM users WHERE id = 5;)
becomes
Parse(__pgdog_1, SELECT * FROM users WHERE id = $1;)
Bind(__pgdog_1, 5)
Execute
Sync
and all subsequent executions become
Bind(__pgdog_1, 5)
Execute
Sync
Convert the simple protocol and unnamed prepared statements into named prepared statements. This allows apps that don't / can't turn on prepared statements due to some driver/other limitation to take advantage of them in production, with a somewhat low overhead of parsing each query.
Example
becomes
and all subsequent executions become