package
19.1.0-beta.20190304+incompatible
Repository: https://github.com/darinpp/cockroach.git
Documentation: pkg.go.dev

# Functions

DecodeOidDatum decodes bytes with specified Oid and format code into a datum.
NewProtocolViolationErrorf creates a pgwire ProtocolViolationError.
NewUnrecognizedMsgTypeErr creates an error for an unrecognized pgwire message.

# 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/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.
PGEpochJDateFromUnix represents the pg epoch relative to the Unix epoch.

# 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-in subprotocol implemented in the sql package.

# Type aliases

ClientMessageType represents a client pgwire message.go:generate stringer -type=ClientMessageType.
FormatCode represents a pgwire data format.
PGNumericSign indicates the sign of a numeric.go:generate stringer -type=PGNumericSign.
PrepareType represents a subtype for prepare messages.go:generate stringer -type=PrepareType.
ServerErrFieldType represents the error fields.go:generate stringer -type=ServerErrFieldType.
ServerMessageType represents a server pgwire message.go:generate stringer -type=ServerMessageType.