Re: [INTERFACES] NEW ODBC DRIVER - Mailing list pgsql-interfaces

From Byron Nikolaidis
Subject Re: [INTERFACES] NEW ODBC DRIVER
Date
Msg-id 3554F0E4.AB657CA1@insightdist.com
Whole thread Raw
In response to NEW ODBC DRIVER  (Byron Nikolaidis <byronn@insightdist.com>)
Responses Re: [INTERFACES] NEW ODBC DRIVER  ("Chris Osborn" <fozztexx@talia.hq.vxn.com>)
List pgsql-interfaces
Access insists on using order by clauses like that, even though the
driver returns information saying it can't support it!

Postgres simply can't handle order by clauses without the fields also
being in the target.

The error you see is a legitimate error coming from the backend.

When the backend can handle those kinds of order by clauses, the error
will stop happening.

Byron


Chris Osborn wrote:

> I just downloaded it, and I cannot get any queries that have an
> "ORDER BY" in them to work. Access '97 keeps returning an ODBC call
> failed error, and gives me the message:
>
>    ERROR: The field being ordered must appear in the target list (#1)
>
> If I cut and paste the SQL code directly into a psql session, it
> runs just fine.
>
> ---
> Chris Osborn, Network Administrator      T3West/WebCow!
> 707 255 9330 x225 - Voice                1804 Soscol Ave, #203
> 707 224 9916      - Fax                  Napa, CA 94559
> <fozztexx@t3west.com>                   <http://t3west.com/>




pgsql-interfaces by date:

Previous
From: Byron Nikolaidis
Date:
Subject: Re: [INTERFACES] NEW ODBC DRIVER
Next
From: "Jose' Soares Da Silva"
Date:
Subject: Re: NEW ODBC DRIVER