Bugs item #24564, was opened at 2009-03-15 14:26 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=7857&aid=24564&group_id=2014
Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Xuân Baldauf (mediumnet) Assigned to: Nobody (None) Summary: "INSERT INTO ... RETURNING" fails with "A result was returned when none was expected." Initial Comment: After fixing postgresql_version, jdbc_postgre.rb switches to using the "INSERT INTO ... RETURNING" syntax (which is correct, because the alternative way of obtaining the primary key value (querying the current sequence number) is not atomic). However, it looks like JDBC does not expect INSERT to return a table. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=7857&aid=24564&group_id=2014 _______________________________________________ Jruby-extras-devel mailing list [email protected] http://rubyforge.org/mailman/listinfo/jruby-extras-devel
