Hi Norbert, It looks like the position of the libpq people is that calling PQresultStatus() is not appropriate until after PQgetResult() has returned NULL. Only then will PQstatus() give you a correct indication after PQresultStatus() has returned PGRES_FATAL_ERROR. They're proposing updating their documentation to reflect this rather than implementing a fix to keep the API clean.
This will require some changes to lib/backends/pgsql_basic.c and/or the OpenDBX documentation, I'm afraid. -MSK ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ libopendbx-devel mailing list libopendbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libopendbx-devel http://www.linuxnetworks.de/doc/index.php/OpenDBX