Postgres module

open_transport

procedure · 1 overloadsince 0.27.0Source

Opens the TCP or Unix socket and sets up the reader and writer.

open_transport :: (c: *Connection) -> Pg_Error

Opens the TCP or Unix socket and sets up the reader and writer.

Parameters

c: *Connection
the connection; its host and port say where to connect. A host starting with / is a Unix socket folder.

Returns

See also