Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 173FF632BBE for ; Fri, 3 Sep 2010 12:24:07 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 55015-07 for ; Fri, 3 Sep 2010 15:23:59 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 4008663218A for ; Fri, 3 Sep 2010 12:23:59 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o83FNrAO023329; Fri, 3 Sep 2010 11:23:53 -0400 (EDT) To: "Werner Kuhnle" cc: pgsql-odbc@postgreSQL.org Subject: Re: Re-2: Problem with simple SELECT over ODBC In-reply-to: References: Comments: In-reply-to "Werner Kuhnle" message dated "Fri, 03 Sep 2010 14:52:26 -0000" Date: Fri, 03 Sep 2010 11:23:53 -0400 Message-ID: <23328.1283527433@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201009/4 X-Sequence-Number: 10414 "Werner Kuhnle" writes: > the log contains : > " > 2010-09-03 13:40:04 CEST FEHLER: Syntaxfehler bei »,« bei Zeichen 1 > 2010-09-03 13:40:04 CEST ANWEISUNG: , "ctid" SELECT Kurzzeichen,Name_Feld,EURO_Umr_Faktor,NKStellen,Ro wTimestamp,RowUserID,RowDDMFields,RowID FROM Waehrungen ORDER BY Kurzzeichen > " > but I don't know what the ', "ctid" ' means and why it is in the log; my sql quere does not contain this; it definitely begins with "SELECT" Ah-hah. The ODBC driver is inserting that because it would like to see the ctid system column in the result. It's evidently getting confused and inserting it in the wrong place. Anybody on the list recognize this misbehavior? regards, tom lane