PQreset
Description
Resets the communication port to the server.
Prototype
void PQreset(PGconn *conn);
Parameter
| Keyword | Description |
|---|---|
| conn | Points to the object pointer that contains the connection information. |
Precautions
This function will close the connection to the server and attempt to establish a new connection to the same server by using all the parameters previously used. This function is applicable to fault recovery after a connection exception occurs.
Example
For details, see Example.
What is your overall rating for this page?
Thank 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