Rename ConnectionPool to ConnPool
This commit is contained in:
+2
-2
@@ -634,9 +634,9 @@ func BenchmarkTimestampTzBinary(b *testing.B) {
|
||||
}
|
||||
}
|
||||
|
||||
func BenchmarkConnectionPool(b *testing.B) {
|
||||
func BenchmarkConnPool(b *testing.B) {
|
||||
options := pgx.ConnectionPoolOptions{MaxConnections: 5}
|
||||
pool, err := pgx.NewConnectionPool(*defaultConnConfig, options)
|
||||
pool, err := pgx.NewConnPool(*defaultConnConfig, options)
|
||||
if err != nil {
|
||||
b.Fatalf("Unable to create connection pool: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user