Updated on 2023-10-23 GMT+08:00

PQconnectStart

Function

PQconnectStart is used to establish a non-blocking connection with the database server.

Prototype

PGconn* PQconnectStart(const char* conninfo);

Parameters

Table 1

Keyword

Parameter Description

conninfo

String of connection information. 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 URI.

Return Value

PGconn pointers