Hi all,
Iencounter some obvious stupid problem...
I'd like to make something like select * from my_table where id=<my_id>
the string is built using ostringstream with << C++ operator
The query is good, pasted into the psql interpreter runs fine but fails
with a syntax error in my code ...
I thought about any special character but it would be a problem after a
paste in the postgres console too..

any idea welcome...

Cheers
Jerome
PS:
where could I find more examples of libpqxx usage because I think that the
ones provided with the docs are too simple and not sufficient..


-- 
Auteur cahiers du programmeur J2EE - Eyrolles 2003

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

Reply via email to