Answer the question
In order to leave comments, you need to log in
Working with connection in pgsql, when should PQreset be called?
I create a connection using the PQconnectdb function.
Let's assume that our Internet fell for a while, and I could not complete the request, do I need to call PQreset?
Or there, in general, the server fell off and rebooted, and again I saw this while trying to make some kind of request.
Is it necessary to call PQreset here?
So far, I've come up with - sometimes do PQping and if it falls off, then do PQreset.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question