X-Original-To: pgsql-odbc@postgresql.org Received: from localhost (unknown [64.117.224.193]) by developer.postgresql.org (Postfix) with ESMTP id 8D8C0925750 for ; Mon, 19 May 2003 18:17:39 -0400 (EDT) Received: from developer.postgresql.org ([64.117.224.193]) by localhost (developer.postgresql.org [64.117.224.193:10024]) (amavisd-new) with ESMTP id 38135-10 for ; Mon, 19 May 2003 18:17:36 -0400 (EDT) Received: from iceborg.groupinfo.com (fw.groupinfo.com [198.109.130.3]) by developer.postgresql.org (Postfix) with ESMTP id 92C0A925790 for ; Mon, 19 May 2003 10:02:34 -0400 (EDT) Received: (from jo@localhost) by iceborg.groupinfo.com (8.11.6/8.11.6) id h4JE2ZS23573 for pgsql-odbc@postgresql.org; Mon, 19 May 2003 10:02:35 -0400 Date: Mon, 19 May 2003 10:02:34 -0400 From: Jo Dillon To: pgsql-odbc@postgresql.org Subject: Problem with multiple statement in one SQLExecute? Message-ID: <20030519100234.A23560@iceborg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i X-Virus-Scanned: by amavisd-new X-Archive-Number: 200305/58 X-Sequence-Number: 2958 Hi...I'm migrating an application from OpenLink's drivers to psqlodbc and I'm having problems with (I think) multiple SQL statements in one query. The problem is the following: INSERT INTO SuperForm( Press_ID, Paper_ID, Form_Plate_Offset_X, Form_Plate_Offset_Y, SuperForm_Style_ID ) VALUES( 'foo', 'bar', 0, 0, 'frobnitz' ); (SELECT CAST(currval('superform_super_form_id_seq') AS INT) AS New_Super_Form_ID) (this is being executed by SQLExecute). With OpenLink I get a result back; with psqlodbc I don't. I'm using latest CVS. My question is, is this supposed to work right now, and if it isn't where should I look to start making the driver handle it? :) -- Jo