On Thu, September 6, 2007 02:12, Shannon Allen wrote:
> Can you tell what I am missing?  s.tellg() returns a size of 0.  I know
> there is a largeobject there with that id, because I can do this right
> before the below code and it works perfecltly:
>   pqxx::largeobjectaccess loGet(w,137396206,PGSTD::ios::in);
>   loGet.to_file("test.seqb");

This is a C++ standard library function, so not really anything to do with
libpqxx, but tellg() doesn't return size.  It returns your current
position in a stream.  Which AFAICS is zero here just as it should be.


Jeroen


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

Reply via email to