pq_status returns the status of the connection.
Return Value
status is one of the following values:
| PQ_CONNECTION_OK (0) | |
| PQ_CONNECTION_BAD (1) |
Parameters
db is the connection pointer returned by pq_connectdb.
History
| Version | Description |
|---|---|
| 5.2.0 | New |
See also
id-1742493