Chapter 54. Frontend/Backend Protocol
Table of Contents
- 54.1. Overview
- 54.2. Message Flow
- 54.3. SASL Authentication
- 54.4. Streaming Replication Protocol
- 54.5. Logical Streaming Replication Protocol
- 54.6. Message Data Types
- 54.7. Message Formats
- 54.8. Error and Notice Message Fields
- 54.9. Logical Replication Message Formats
- 54.10. Summary of Changes since Protocol 2.0
Postgres Pro uses a message-based protocol for communication between frontends and backends (clients and servers). The protocol is supported overTCP/IP and also over Unix-domain sockets. Port number 5432 has been registered with IANA as the customary TCP port number for servers supporting this protocol, but in practice any non-privileged port number can be used.