Postgres module

parse_conninfo_options

procedure · 1 overloadsince 0.27.0Source

Parses a URI (postgresql:// or postgres://) or a key=value list. The strings in the result belong to it: free_conninfo.

parse_conninfo_options :: (text: string) -> (Conninfo, Pg_Error)

Parses a URI (postgresql:// or postgres://) or a key=value list. The strings in the result belong to it: free_conninfo.

Parameters

text: string
a URI or a key=value list.

Returns

See also