SendDeallocate deallocates a prepared statement.
(name string)
| 2472 | |
| 2473 | // SendDeallocate deallocates a prepared statement. |
| 2474 | func (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. |
| 2484 | func (p *Pipeline) SendQueryParams(sql string, paramValues [][]byte, paramOIDs []uint32, paramFormats, resultFormats []int16) { |