pq_result_status

pq_result_status liefert den Status einer SQL-Anweisung.

status = pq_result_status(res)

Returnwert

status.

PGRES_EMPTY_QUERY (0)  
PGRES_COMMAND_OK (1)  
PGRES_TUPLES_OK (2)  
PGRES_COPY_OUT (3)  
PGRES_COPY_IN (4)  
PGRES_BAD_RESPONSE (5)  
PGRES_NONFATAL_ERROR (6)  
PGRES_FATAL_ERROR (7)  

Parameter

res

res.

History

Version Beschreibung
5.5.0 Neu.

id-1916841