On Tue, November 21, 2006 23:39, Martin Gallwey wrote:

> I have found what I consider to be a bug in libpqxx: When using prepared
> statements, the return value of PQprepare is not checked, thus if you
> attempt to prepare a syntactically wrong SQL statement, you don't get an
> error until you try and execute it in PQexecPrepared, which gives you the
> error that your statement doesn't exist, but doesn't tell you why.

You are right, of course, but this one is already fixed in the current
development tree.


Jeroen


_______________________________________________
Libpqxx-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/libpqxx-general

Reply via email to