PQgetCancel
Description
Creates a data structure that contains the information required to cancel a command issued through a specific database connection.
Prototype
PGcancel* PQgetCancel(PGconn* conn);
Parameters
Keyword |
Description |
---|---|
conn |
Points to the object pointer that contains the connection information. |
Return Values
PGcancel points to the object pointer that contains the cancel information.
Precautions
PQgetCancel creates a PGcancel object for a given PGconn connection object. If the given connection object (conn) is NULL or an invalid connection, it will return NULL. The PGcancel object is an opaque structure that cannot be directly accessed by applications. It can be transferred only to PQcancel or PQfreeCancel.
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.
For any further questions, feel free to contact us through the chatbot.
Chatbot