MCPcopy
hub / github.com/jackc/pgx / ParameterStatus

Method ParameterStatus

pgconn/pgconn.go:846–848  ·  view source on GitHub ↗

ParameterStatus returns the value of a parameter reported by the server (e.g. server_version). Returns an empty string for unknown parameters.

(key string)

Source from the content-addressed store, hash-verified

844// ParameterStatus returns the value of a parameter reported by the server (e.g.
845// server_version). Returns an empty string for unknown parameters.
846func (pgConn *PgConn) ParameterStatus(key string) string {
847 return pgConn.parameterStatuses[key]
848}
849
850// CommandTag is the status text returned by PostgreSQL for a query.
851type CommandTag struct {

Callers 15

EscapeStringMethod · 0.95
TestListenNotifyFunction · 0.80
ExampleRowToStructByPosFunction · 0.80
ExampleRowToStructByNameFunction · 0.80
TestQueryRowErrorsFunction · 0.80
TestConnSimpleProtocolFunction · 0.80

Calls

no outgoing calls