X-Original-To: pgsql-odbc@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 0525B475B47 for ; Mon, 28 Apr 2003 17:32:43 -0400 (EDT) Received: from ns1.cecorp.com (ns1.cecorp.com [209.79.244.2]) by postgresql.org (Postfix) with ESMTP id 9B7D4474E42 for ; Mon, 28 Apr 2003 17:32:41 -0400 (EDT) Received: from cecorp.com (O158.cecorp.com [209.79.244.158]) by ns1.cecorp.com (8.12.3/8.12.3/Debian-6.3) with ESMTP id h3SLWgE2004621 for ; Mon, 28 Apr 2003 14:32:43 -0700 Message-ID: <3EAD9F01.9040501@cecorp.com> Date: Mon, 28 Apr 2003 14:37:05 -0700 From: Jon V User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: ODBC Behavior, where do I find help? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-12.9 required=5.0 tests=BAYES_01,USER_AGENT_MOZILLA_UA autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/87 X-Sequence-Number: 2889 Hello all, I'm sure this is a pretty basic misunderstanding or misapplication on my part. I'm hoping one of you can set me straight. I'm running PostgreSQL 7.3.2 under Cygwin. Running ODBC 7.01.00.10 (as displayed in the ODBC Data Source Administrator Driver tab), my application works fine. However, if I install any of the 7.02 ODBC drivers, my application fails. We've traced the cause of the failure, and it has me scratching my head. Using our application OR PgAdminII, I run the following: begin; select * from table_name end With 7.1 ODBC I get a result (in PgAdminII a table pops up on the screen, in our app we get the results of the query). With 7.2 I get a "query completed successfully" (status) message. The same thing happens when I run an SQL function we've written that passes a cursor back -- 7.1 returns the result, 7.2 returns a status. I assume I must be doing something wrong because if it was really broken then nobody could use 7.2, and the latest versions of PgAdmin are quite forceful about automatically installing the 7.2 drivers if they aren't present. Where should I look? TIA, Jon