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

Method SendDeallocate

pgconn/pgconn.go:2474–2481  ·  view source on GitHub ↗

SendDeallocate deallocates a prepared statement.

(name string)

Source from the content-addressed store, hash-verified

2472
2473// SendDeallocate deallocates a prepared statement.
2474func (p *Pipeline) SendDeallocate(name string) {
2475 if p.closed {
2476 return
2477 }
2478
2479 p.conn.frontend.SendClose(&pgproto3.Close{ObjectType: 'S', Name: name})
2480 p.state.PushBackRequestType(pipelineDeallocate)
2481}
2482
2483// SendQueryParams is the pipeline version of *PgConn.ExecParams.
2484func (p *Pipeline) SendQueryParams(sql string, paramValues [][]byte, paramOIDs []uint32, paramFormats, resultFormats []int16) {

Calls 2

SendCloseMethod · 0.80
PushBackRequestTypeMethod · 0.80