14 lines
434 B
Plaintext
14 lines
434 B
Plaintext
func (p *ConnPool) BeginBatch() *Batch
|
|
func (p *ConnPool) Close()
|
|
func (p *ConnPool) CopyFrom(tableName Identifier, columnNames []string, rowSrc CopyFromSource) (int, error)
|
|
func (p *ConnPool) Deallocate(name string) (err error)
|
|
func (p *ConnPool) Prepare(ctx context.Context, name, sql string) (*PreparedStatement, error)
|
|
|
|
|
|
|
|
max conns
|
|
max conn lifetime
|
|
keep alive
|
|
acquire hook (check based on idle time)
|
|
release hook (do reset all?)
|