Обсуждение: Re-2: Problem with simple SELECT over ODBC
Hi Tom, thanks for your reply. 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,RowIDFROM 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 beginswith "SELECT" Regards Werner To: tgl@sss.pgh.pa.us Cc: pgsql-odbc@postgresql.org
"Werner Kuhnle" <wek@kuhnle.com> 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,RowIDFROM 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 definitelybegins 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
Hi Werner, (2010/09/04 23:18), Werner Kuhnle wrote: > Hi Hiroshi, > >> >> Could you send me directly the Mylog output? >> > What do you mean with "Mylog output" ? > The log entries in pg_log\postgresql*.log are: > " > 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,RowTimestamp,RowUserID,RowDDMFields,RowIDFROM Waehrungen ORDER BY Kurzzeichen > " > but I don't know what the ', "ctid" ' means and why it is in the log; my sql query does not contain this; it definitelybegins with "SELECT" OK could you please try the drivers on testing for 8.4.0202 at http://www.ne.jp/asahi/inocchichichi/entrance/psqlodbc/ ? regards, Hiroshi Inoue