MCPcopy Create free account
hub / github.com/Permify/permify / Close

Method Close

pkg/database/postgres/postgres.go:195–199  ·  view source on GitHub ↗

Close - Close postgresql instance

()

Source from the content-addressed store, hash-verified

193
194// Close - Close postgresql instance
195func (p *Postgres) Close() error {
196 p.ReadPool.Close()
197 p.WritePool.Close()
198 return nil
199}
200
201// IsReady - Check if database is ready
202func (p *Postgres) IsReady(ctx context.Context) (bool, error) {

Callers 1

PostgresDBFunction · 0.95

Calls 1

CloseMethod · 0.65

Tested by

no test coverage detected