mirror of
https://codeberg.org/superseriousbusiness/gotosocial.git
synced 2024-12-22 17:10:20 +03:00
ec325fee14
* [chore] Update a bunch of database dependencies * fix lil thing
11 lines
688 B
Go
11 lines
688 B
Go
// Package pgproto3 is a encoder and decoder of the PostgreSQL wire protocol version 3.
|
|
//
|
|
// The primary interfaces are Frontend and Backend. They correspond to a client and server respectively. Messages are
|
|
// sent with Send (or a specialized Send variant). Messages are automatically bufferred to minimize small writes. Call
|
|
// Flush to ensure a message has actually been sent.
|
|
//
|
|
// The Trace method of Frontend and Backend can be used to examine the wire-level message traffic. It outputs in a
|
|
// similar format to the PQtrace function in libpq.
|
|
//
|
|
// See https://www.postgresql.org/docs/current/protocol-message-formats.html for meanings of the different messages.
|
|
package pgproto3
|