pq_statusΒΆ

pq_status returns the status of the connection.

status = pq_status(db)

Return Value

status is one of the following values:

PQ_CONNECTION_OK (0)  
PQ_CONNECTION_BAD (1)  

Parameters

db

db is the connection pointer returned by pq_connectdb.

History

Version Description
5.2.0 New

id-1742493