Outdated This document is no longer maintained. Refer to the latest version.

PQerrorMessage

Function

PQerrorMessage is used to return error information on a connection.

Prototype

char* PQerrorMessage(const PGconn* conn);

Parameter

Table 1

Keyword

Parameter Description

conn

Connection handle.

Return Value

char pointers

Example

For details, see Example.

Feedback
    openGauss 2026-11-21 21:17:56
    cancel