[−][src]Crate coord
Coordinates client requests with the dataflow layer.
Client requests are either a "simple" query, in which SQL is parsed, planned, and executed in one shot, or an "extended" query, where the client controls the parsing, planning, and execution via individual messages, allowing it to reuse pre-parsed and pre-planned queries (i.e., via "prepared statements"), which can be more efficient when the same query is executed multiple times.
These commands are derived directly from the commands that
pgwire
produces, though they can, in theory, be
provided by something other than a pgwire server.
Modules
catalog | |
session | Per-connection configuration parameters and state. |
Structs
CacheConfig | |
Client | A client for a |
Config | |
LoggingConfig | |
NoSessionExecuteResponse | |
SessionClient | A |
TimestampConfig |
Enums
ExecuteResponse | The response to [ |
StartupMessage | Notifications that may be generated in response to [ |
Functions
describe | Creates a description of the statement |
serve | Begins coordinating user requests to the dataflow layer based on the provided configuration. Returns the thread that hosts the coordinator and the cluster ID. |