postgresql
ModuleThe PostgreSQL frontend protocol classifier.
Contents
use utopia_query::classifier::postgresql::PostgreSql;Rust
pub struct PostgreSqlClassifies PostgreSQL frontend messages: type byte, big-endian length, body.
A simple query (Q) is classified by its SQL text (up to the first NUL);
the extended query messages Parse, Bind and Execute are writes, so
they reach the primary; anything else is unknown.