pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Brian Boonstra <boonstb@cmg.FCNBD.COM>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Version 7.3 and LIMIT i,j
Date: Sun, 26 Jan 2003 17:39:39 -0500 (EST)
Message-ID: <200301262239.h0QMddf13338@candle.pha.pa.us> (raw)
In-Reply-To: <200301212259.QAA29398@wo1203.cmg.FCNBD.COM>


I am confused by this.  LIMIT is a MySQL-ism, so it is hard to see how
that is getting to the backend except via your code.  LIMIT/OFFSET is
now the required way of specifying such parameters.

---------------------------------------------------------------------------

Brian Boonstra wrote:
> Hi
> 
> Aside from also encountering the "oid" problem referred to earlier, I am  
> having a problem with the ODBC drivers and version 7.3.  Namely, when I try  
> to set up a query using MS Query, I get back an error message saying that the  
> LIMIT i,j syntax is no longer supported.
> 
> 
> Looking in the postgres changelogs, this is a planned deprecation of the  
> LIMIT syntax.  But apparently either MS Query or the ODBC drivers think LIMIT  
> should still be used.  Has anyone got a fix or workaround?
> 
> 
> Brian
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073



view thread (2+ messages)

Message-ID: <200301262239.h0QMddf13338@candle.pha.pa.us>
Permalink:  ../200301262239.h0QMddf13338@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200301262239.h0QMddf13338@candle.pha.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: pgman@candle.pha.pa.us, boonstb@cmg.FCNBD.COM
  Subject: Re: Version 7.3 and LIMIT i,j
  In-Reply-To: <200301262239.h0QMddf13338@candle.pha.pa.us>
  References: <200301212259.QAA29398@wo1203.cmg.FCNBD.COM> <200301262239.h0QMddf13338@candle.pha.pa.us>

* 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