postgresql_16:8.4.2 Message Flow
PostgreSQL 16 > Internals > Frontend/Backend Protocol > Message Flow
This section describes the message flow and the semantics of each message type. (Details of the exact representation of each message appear in (see postgresql_16:8.4.7).) There are several different sub-protocols depending on the state of the connection: start-up, query, function call, COPY, and termination. There are also special provisions for asynchronous operations (including notification responses and command cancellation), which can occur at any time after the start-up phase.
Subsections
- postgresql_16:8.4.2.1 Start-up
- postgresql_16:8.4.2.2 Simple Query
- postgresql_16:8.4.2.3 Extended Query
- postgresql_16:8.4.2.4 Pipelining
- postgresql_16:8.4.2.5 Function Call
- postgresql_16:8.4.2.6 COPY Operations
- postgresql_16:8.4.2.7 Asynchronous Operations
- postgresql_16:8.4.2.8 Canceling Requests in Progress
- postgresql_16:8.4.2.9 Termination
- postgresql_16:8.4.2.10 SSL Session Encryption
- postgresql_16:8.4.2.11 GSSAPI Session Encryption