Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlc-dev/sqlc
/ Close
Method
Close
internal/pgx/poolcache/poolcache.go:48–61 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
46
}
47
48
func
(c *Cache) Close() error {
49
c.lock.Lock()
50
defer
c.lock.Unlock()
51
52
var
closeErr error
53
for
_, pool :=
range
c.pools {
54
pool.Close()
55
}
56
57
c.closed = true
58
clear(c.pools)
59
60
return
closeErr
61
}
Callers
nothing calls this directly
Calls
1
Close
Method · 0.65
Tested by
no test coverage detected