mirror of https://github.com/jackc/pgx.git
Remove ConnPool functions overlapped by Stat
parent
4fbd76bee5
commit
e33fb9d5d8
|
@ -143,14 +143,6 @@ func (p *ConnPool) Stat() (s ConnPoolStat) {
|
|||
return
|
||||
}
|
||||
|
||||
func (p *ConnPool) MaxConnectionCount() int {
|
||||
return p.maxConnections
|
||||
}
|
||||
|
||||
func (p *ConnPool) CurrentConnectionCount() int {
|
||||
return p.maxConnections
|
||||
}
|
||||
|
||||
func (p *ConnPool) createConnection() (c *Conn, err error) {
|
||||
c, err = Connect(p.config)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue