Re: [opendbx] new OpenDBX 1.4 stable release?
Brought to you by:
nose
From: Norbert S. <no...@li...> - 2012-05-24 22:42:56
|
Hi Murray > See http://archives.postgresql.org/pgsql-bugs/2011-01/msg00097.php for my bug report and the ensuing conversation. After reading though the discussion, another option might more elegant: If PQresultStatus() returns PGRES_FATAL_ERROR, we can call PQconsumeInput() to be sure, the call to PQStatus() knowns what's going on: case PGRES_FATAL_ERROR: + PQconsumeInput( (PGconn*) handle->generic ); if( PQstatus( (PGconn*) handle->generic ) != CONNECTION_OK ) Could you test if this has the desired effect? Norbert |