Hi,

I have simple query to PostgreSQL system catalog:

SELECT reltuples  FROM pg_class 

and some tables have reltuples > 1 000 000. When I read resultset:

long lEstimatedRows;
m_pqxxResultTables[i]["reltuples"].to(lEstimatedRows);

I get exception:
Error reading field reltuples: Unexpected text after integer: '1.0536e+006'

Tested with version 2.6.7, SuSE Linux 10.0 32 bit.
It is bug or there is any workaround for this ?

Thanks,
Lumir Vanek
KPoGre developer
http://kpogre.sourceforge.net
_______________________________________________
Libpqxx-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/libpqxx-general

Reply via email to