Valeurs de retour
Le statut peut être PGSQL_TRANSACTION_IDLE (actuellement inactif),
PGSQL_TRANSACTION_ACTIVE (une commande est en cours),
PGSQL_TRANSACTION_INTRANS (inactif, dans un bloc de transaction valide),
ou PGSQL_TRANSACTION_INERROR (inactif, dans un bloc de transaction en échec).
PGSQL_TRANSACTION_UNKNOWN est retourné si la connexion est mauvaise.
PGSQL_TRANSACTION_ACTIVE est retourné seulement si la
requête a été envoyée au serveur et que celle-ci n'a pas été encore
complétée.