Hi Luis,
Luis Silva wrote:
> One more thing (sorry..) I'm using pipes for inserting the queries. when I
> try to commit the transaction I get "can't commit,pipe still open". I've
> read the pqxx::pipeline Class Reference and I can't find a close()
> function:) . What might be the problem. Tks in advance
I'm not sure what the "proper" solution is, but a quick one would be to
make sure that the pipeline object is destructed before commit, e.g.
(pseudocode):
transaction t;
{
pipeline p;
// ... do stuff ...
}
t.commit();
That should probably do the trick. :-)
Cheers,
Bart
_______________________________________________
Libpqxx-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/libpqxx-general