[BioC] RdbiPgSQL error reporting
Mitch Skinner
mitch at egcrc.net
Fri Jan 6 02:12:44 CET 2006
On Thu, 2006-01-05 at 17:00 -0800, Mitch Skinner wrote:
> One-line patch attached.
Hmmm, the patch attachment seems to have gotten stripped somewhere along
the way--it goes like this:
Index: PgSQL.c
===================================================================
--- PgSQL.c (revision 15587)
+++ PgSQL.c (working copy)
@@ -229,7 +229,7 @@
matrix = (int)LOGICAL(asMatrix)[0];
if (PQresultStatus(result) != PGRES_TUPLES_OK)
- error("Query did not produce any tuples");
+ error(PQresultErrorMessage(result));
if (PQbinaryTuples(result)) error("Binary tuples not supported");
More information about the Bioconductor
mailing list