Updated on 2024-06-03 GMT+08:00

PQconninfoParse

Description

Returns parsed connection options based on the connection.

Prototype

PQconninfoOption* PQconninfoParse(const char* conninfo, char** errmsg);

Parameters

Table 1

Keyword

Description

conninfo

Passed string. This parameter can be left empty. In this case, the default value is used. It can contain one or more values separated by spaces or contain a URL.

errmsg

Error information.

Return Value

PQconninfoOption pointers