2
0

Rename ConnectionPool to ConnPool

This commit is contained in:
Jack Christensen
2014-05-17 13:38:44 -05:00
parent 1ff653ae15
commit f9a2501100
5 changed files with 35 additions and 35 deletions
+2 -2
View File
@@ -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)
}