Postgres module

close

procedure · 1 overloadsince 0.27.0Source

Ends the session (Terminate) and frees the connection. now skips the goodbye.

close :: (c: *Connection, now := false)

Ends the session (Terminate) and frees the connection. now skips the goodbye.

Parameters

c: *Connection
the connection. Null does nothing.
now := false
skip the Terminate message and close the socket right away.

See also