Updated on 2025-05-29 GMT+08:00

PQconnectStart

Description

Establishes a non-blocking connection with the database server.

Prototype

PGconn* PQconnectStart(const char* conninfo);

Parameter

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