* PQresetStart: * resets the connection to the backend * closes the existing connection and makes a new one * Returns 1 on success, 0 on failure. */
| 4448 | * Returns 1 on success, 0 on failure. |
| 4449 | */ |
| 4450 | int |
| 4451 | PQresetStart(PGconn *conn) |
| 4452 | { |
| 4453 | if (conn) |
| 4454 | { |
| 4455 | closePGconn(conn); |
| 4456 | |
| 4457 | return connectDBStart(conn); |
| 4458 | } |
| 4459 | |
| 4460 | return 0; |
| 4461 | } |
| 4462 | |
| 4463 | |
| 4464 | /* |
nothing calls this directly
no test coverage detected