Postgres module

append_key_log

procedure · 1 overloadsince 0.27.0Source

Appends a line to the connection's key log file, which only its owner may read. A file that cannot be opened or written is reported, as libpq does, and the connection goes on.

append_key_log :: (line: string, data: *void)

Appends a line to the connection's key log file, which only its owner may read. A file that cannot be opened or written is reported, as libpq does, and the connection goes on.

Parameters

line: string
one line of key log text, without its newline.
data: *void
the Connection, whose key_log_file is appended to.

See also