package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

DecodeDatum decodes bytes with specified type and format code into a datum.
GetMessageTooBigSize attempts to unwrap and find a MessageTooBig.
IsMessageTooBigError denotes whether a message is too big.
MakeReadBuffer returns a new ReaderBuffer with the given size.
NewInvalidBinaryRepresentationErrorf creates a pgwire InvalidBinaryRepresentation.
NewProtocolViolationErrorf creates a pgwire ProtocolViolationError.
NewUnrecognizedMsgTypeErr creates an error for an unrecognized pgwire message.
ReadBufferOptionWithClusterSettings utilizes the cluster settings for setting various defaults in the ReadBuffer.

# Constants

http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
FormatBinary is an alternative, binary, encoding.
FormatText is the default, text format.
MaxPreparedStatementArgs is the maximum number of arguments a prepared statement can have when prepared via the Postgres wire protocol.
PGBinaryIPv4family is the pgwire constant for IPv4.
PGBinaryIPv6family is the pgwire constant for IPv4.
PGDecDigits represents the number of decimal digits per int16 Postgres "digit".
PGNumericNeg represents the - sign.
PGNumericPos represents the + sign.
PreparePortal represents a portal.
PrepareStatement represents a prepared statement.
http://www.postgresql.org/docs/current/static/protocol-error-fields.html.
http://www.postgresql.org/docs/current/static/protocol-error-fields.html.
http://www.postgresql.org/docs/current/static/protocol-error-fields.html.
http://www.postgresql.org/docs/current/static/protocol-error-fields.html.
http://www.postgresql.org/docs/current/static/protocol-error-fields.html.
http://www.postgresql.org/docs/current/static/protocol-error-fields.html.
http://www.postgresql.org/docs/current/static/protocol-error-fields.html.
http://www.postgresql.org/docs/current/static/protocol-error-fields.html.
http://www.postgresql.org/docs/current/static/protocol-error-fields.html.
http://www.postgresql.org/docs/current/static/protocol-error-fields.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.
http://www.postgresql.org/docs/9.4/static/protocol-message-formats.html.

# Variables

PGEpochJDate represents the pg epoch.
ReadBufferMaxMessageSizeClusterSetting is the cluster setting for configuring ReadBuffer default message sizes.

# Structs

PGNumeric represents a numeric.
ReadBuffer provides a convenient way to read pgwire protocol messages.

# Interfaces

BufferedReader extended io.Reader with some convenience methods.
Conn exposes some functionality of a pgwire network connection to be used by the Copy subprotocol implemented in the sql package.

# Type aliases

ClientMessageType represents a client pgwire message.
FormatCode represents a pgwire data format.
PGNumericSign indicates the sign of a numeric.
PrepareType represents a subtype for prepare messages.
ReadBufferOption is an optional argument to use with ReadBuffer.
ServerErrFieldType represents the error fields.
ServerMessageType represents a server pgwire message.