Postgres module

conninfo_set

procedure · 1 overloadsince 0.27.0Source

Sets keyword to a copy of value, replacing what was there. False for a keyword libpq does not know.

conninfo_set :: (info: *Conninfo, keyword: string, value: string) -> bool

Sets keyword to a copy of value, replacing what was there. False for a keyword libpq does not know.

Parameters

info: *Conninfo
the options to change.
keyword: string
a libpq keyword.
value: string
the new value, copied.

Returns

bool

See also