Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Vladimir Barsukov
zdb
Commits
6ac64d7c
Commit
6ac64d7c
authored
May 22, 2023
by
Vladimir Barsukov
Browse files
fix
parent
e49d731b
Changes
1
Hide whitespace changes
Inline
Side-by-side
pool.go
View file @
6ac64d7c
...
...
@@ -96,9 +96,6 @@ func (d *Pool) NewConn(mode connMode, pgConnString string) error {
}
func
(
d
*
Pool
)
NewConns
(
mode
connMode
,
pgConnString
...
string
)
error
{
d
.
mu
.
Lock
()
defer
d
.
mu
.
Unlock
()
for
_
,
s
:=
range
pgConnString
{
if
err
:=
d
.
NewConn
(
mode
,
s
);
err
!=
nil
{
return
err
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment