Internals¶ Binary protocol Notation in diagrams Greeting packet Unified packet structure Authentication Requests Response packet structure Replication packet structure XLOG / SNAP SQL protocol Request packet body Response packet body File formats Data persistence and the WAL file format The snapshot file format The recovery process Server startup with replication