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

# Functions

MsgsToJSONWithIgnore converts the pgproto3 messages to JSON format.
NewPGTest connects to a Postgres server at addr with username user.
ParseMessages parses a string containing multiple pgproto3 messages separated by the newline symbol.
RunTest executes PGTest commands, connecting to the database specified by addr and user.
WalkWithNewServer walks path for datadriven files and calls RunTest on them, but creates a new server for each test file.
WalkWithRunningServer walks path for datadriven files and calls RunTest on them.

# Structs

PGTest can be used to send and receive arbitrary pgwire messages on Postgres-compatible servers.