Hi, Are there any users with PostgreSQL version earlier than 9.1 who could compile and run this simple test and check if it completes fine?
session sql(postgresql , "dbname=mydb"); sql << "create table soci_test(id integer)"; int i; statement st = (sql.prepare << "insert into soci_test(id) values(:id)", use(i)); i = 5; st.execute(true); i = 6; st.execute(true); // ERROR: unnamed prepared statement does not exist i = 7; st.execute(true); With PostgreSQL 9.1 and 9.2 I'm getting the error displayed in the comment above. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net ------------------------------------------------------------------------------ WINDOWS 8 is here. Millions of people. Your app in 30 days. Visit The Windows 8 Center at Sourceforge for all your go to resources. http://windows8center.sourceforge.net/ join-generation-app-and-make-money-coding-fast/ _______________________________________________ Soci-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/soci-users
