Folks,
We changed the way that the PostgreSQL retrieved primary keys from INSERTs.
Turns out that the new code does not work with PG 8.1.
You will see something like:
ERROR: syntax error at or near "RETURNING"
org.postgresql.util.PSQLException: ERROR: syntax error at or near
"RETURNING"
at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1559)
at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1327)
at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:193)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:351)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:255)
at
net.liftweb.mapper.PostgreSqlDriver$.performInsertWithPK(Driver.scala:207)
at net.liftweb.mapper.DriverType.performInsert(Driver.scala:68)
at net.liftweb.mapper.MetaMapper$$anonfun$12.apply(MetaMapper.scala:676)
at net.liftweb.mapper.MetaMapper$$anonfun$12.apply(MetaMapper.scala:622)
If you are running PG 8.1 and Lift. We will be fixing the problem ASAP.
Thanks,
David
--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---