Chapter 51. Frontend/Backend Protocol
Table of Contents
- 51.1. Overview
- 51.2. Message Flow
- 51.3. SASL Authentication
- 51.4. Streaming Replication Protocol
- 51.5. Logical Streaming Replication Protocol
- 51.6. Message Data Types
- 51.7. Message Formats
- 51.8. Error and Notice Message Fields
- 51.9. Logical Replication Message Formats
- 51.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.