Are you an LLM? You can read better optimized documentation at /en/docs/7.0.0/developer_guide/pqerrormessage.md for this page in Markdown format
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.