Help Center/
GaussDB/
Developer Guide(Centralized_2.x)/
API Reference/
libpq/
Database Connection Control Functions/
PQerrorMessage
Updated on 2023-10-23 GMT+08:00
PQerrorMessage
Function
PQerrorMessage is used to return error information on a connection.
Prototype
char* PQerrorMessage(const PGconn* conn);
Parameter
Keyword |
Parameter Description |
---|---|
conn |
Connection handle. |
Return Value
char pointers
Example
For details, see Example.
Parent topic: Database Connection Control Functions
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot