Updated on 2024-05-07 GMT+08:00

PQconnectStart

Description

Establishes a non-blocking connection with the database server.

Prototype

PGconn* PQconnectStart(const char* conninfo);

Parameters

Table 1

Keyword

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 URL.

Return Values

PGconn pointers