2
0
Files
pgx/pool/todo.txt
T
Jack Christensen 0254279df7 Add todos for pool
2019-04-12 16:56:18 -05:00

16 lines
655 B
Plaintext

func (p *ConnPool) Begin() (*Tx, error)
func (p *ConnPool) BeginBatch() *Batch
func (p *ConnPool) BeginEx(ctx context.Context, txOptions *TxOptions) (*Tx, error)
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(name, sql string) (*PreparedStatement, error)
func (p *ConnPool) PrepareEx(ctx context.Context, name, sql string, opts *PrepareExOptions) (*PreparedStatement, error)
max conns
max conn lifetime
keep alive
acquire hook (check based on idle time)
release hook (do reset all?)