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

Struct Conn

pgxpool/conn.go:12–15  ·  view source on GitHub ↗

Conn is an acquired *pgx.Conn from a Pool.

Source from the content-addressed store, hash-verified

10
11// Conn is an acquired *pgx.Conn from a Pool.
12type Conn struct {
13 res *puddle.Resource[*connResource]
14 p *Pool
15}
16
17// Release returns c to the pool it was acquired from. Once Release has been called, other methods must not be called.
18// However, it is safe to call Release multiple times. Subsequent calls after the first will be ignored.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected