From grant at janrain.com Fri Oct 30 19:39:41 2009 From: grant at janrain.com (Monroe, Grant) Date: Fri, 30 Oct 2009 16:39:41 -0700 Subject: [Jruby-extras-devel] jdbc postgres INSERT RETURNING Message-ID: Running execute with the postgres jdbc driver like so def self.up execute('INSERT INTO foo (a,b) VALUES (1,2) RETURNING (id)') end results in the following error ActiveRecord::ActiveRecordError: A result was returned when none was expected.: INSERT INTO foo (a,b) VALUES (1,2) RETURNING (id) Any suggestions?