Postgres module

drop_connection

procedure · 1 overloadsince 0.27.0Source

Closes the held connection for this pair, if any.

drop_connection :: (url: string, database: string)

Closes the held connection for this pair, if any.

Parameters

url: string
the database URL.
database: string
a database name to use instead of the URL's. Empty keeps the URL's.

See also