pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re-2: Problem with simple SELECT over ODBC
3+ messages / 3 participants
[nested] [flat]

* Re-2: Problem with simple SELECT over ODBC
@ 2010-09-03 14:52  Werner Kuhnle <wek@kuhnle.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Werner Kuhnle @ 2010-09-03 14:52 UTC (permalink / raw)
  To: pgsql-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,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"

Regards

Werner


To: tgl@sss.pgh.pa.us
Cc: pgsql-odbc@postgresql.org





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Re-2: Problem with simple SELECT over ODBC
@ 2010-09-03 15:23  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Werner Kuhnle <wek@kuhnle.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2010-09-03 15:23 UTC (permalink / raw)
  To: Werner Kuhnle <wek@kuhnle.com>; +Cc: pgsql-odbc

"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,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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Re-2: Problem with simple SELECT over ODBC
@ 2010-09-05 21:26  Hiroshi Inoue <inoue@tpf.co.jp>
  0 siblings, 0 replies; 3+ messages in thread

From: Hiroshi Inoue @ 2010-09-05 21:26 UTC (permalink / raw)
  To: pgsql-odbc

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,RowID FROM 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 definitely begins 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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2010-09-05 21:26 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-09-03 14:52 Re-2: Problem with simple SELECT over ODBC Werner Kuhnle <wek@kuhnle.com>
2010-09-03 15:23 ` Tom Lane <tgl@sss.pgh.pa.us>
2010-09-05 21:26 Re: Re-2: Problem with simple SELECT over ODBC Hiroshi Inoue <inoue@tpf.co.jp>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox