On Mon, January 23, 2006 14:03, [EMAIL PROTECTED] wrote:

> so i dismiss complete() first, it has the same effect
> then i erase the writer_close() in ~tablewriter().
>
> Now i get an info:
> Closing nontransaction  with pĂ´ransact '?ow' still open
>
> after that no data can be inserted into db again.

That is the effect I would expect.  Normally this would imply that the
problem happens *after* the closing of the tablewriter, but if you're
using several tablewriters and the first ones do normally work, then
probably you got this new error from the modified library at an earlier
part of your program.  In that case it doesn't really tell us anything. 
:-/


> so i wonder whether 2.5.5 can work normal or not, but when linking 2.5.5
> i got a message 'undefined reference to pqxx::tablewriter::Escape(...)'

That sounds like a version-skew problem.  Please check that you aren't
accidentally getting your headers from a different libpqxx version than
the one you're linking to!

Compiler versions could also cause this sort of problem, though my gut
tells me that isn't what we're seeing here.  For the record, which
compiler are you using?  Are you always using the exact same compiler for
libpqxx and your own code?

Also, you mention that you tried libpqxx 2.5.5 here.  What version were
you using before?  Have you tried the latest development release?


Jeroen


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

Reply via email to