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
PVC-705: switch to typed queries for performance benefits
Currently, each query requires three RTTs to the DB. By switching to typed queries, we
can do the parse, bind and execute all in a single RTT.
Queries which use `SqlNamespaceStatus` were not ported due to me not being able to figure
out which type they have. It's a user-generated type, and I'm not sure there's a matching
type in `postgres-types::Type`. In any case, this just means we eat the extra RTTs when
creating or updating namespaces. This feels fine to me, since at least the hot path is
able to be typed.
Related tokio-postgres PR: sfackler/rust-postgres#1147
0 commit comments