Rename ConnectionParameters to ConnConfig
This commit is contained in:
+1
-1
@@ -636,7 +636,7 @@ func BenchmarkTimestampTzBinary(b *testing.B) {
|
||||
|
||||
func BenchmarkConnectionPool(b *testing.B) {
|
||||
options := pgx.ConnectionPoolOptions{MaxConnections: 5}
|
||||
pool, err := pgx.NewConnectionPool(*defaultConnectionParameters, options)
|
||||
pool, err := pgx.NewConnectionPool(*defaultConnConfig, options)
|
||||
if err != nil {
|
||||
b.Fatalf("Unable to create connection pool: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user