pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Byron Nikolaidis <byronn@insightdist.com>
To: Chris Osborn <fozztexx@talia.hq.vxn.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: [INTERFACES] NEW ODBC DRIVER
Date: Sat, 09 May 1998 20:12:21 -0400
Message-ID: <3554F0E4.AB657CA1@insightdist.com> (raw)
References: <35533446.92762625@insightdist.com>
	<Mynah_0.8cl_i386.3553a820_00005b5b@talia.hq.vxn.com>

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/;






view thread (18+ messages)  latest in thread

Message-ID: <3554F0E4.AB657CA1@insightdist.com>
Permalink:  ../3554F0E4.AB657CA1@insightdist.com/
Also on:    postgresql.org/message-id/3554F0E4.AB657CA1@insightdist.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: byronn@insightdist.com, fozztexx@talia.hq.vxn.com
  Subject: Re: [INTERFACES] NEW ODBC DRIVER
  In-Reply-To: <3554F0E4.AB657CA1@insightdist.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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