A single git rebase ripped through the branch history like a scalpel, and your local feature tests against Postgres broke. Not because the SQL changed, but because the binary protocol proxy sitting between your app and the database didn’t know how to replay the handshake after the upstream was replaced.
This is the hidden edge of working with Postgres binary protocol proxying during active development. The Postgres wire protocol is stateful. Each connection starts with startup messages, authentication exchange, and capability negotiation. A proxy sits in the middle, parsing and forwarding messages at byte level. When you rebase code handling queries or migrations, the proxy layer must adapt without breaking persistent connections or corrupting server state.
Without careful handling, a rebase can invalidate client expectations. If your migrations change, the in-flight protocol state can desync. Queries slightly out of sync with schema updates may crash the connection. Worse, errors can cascade if the proxy attempts to reuse stale backend connections.