Re: Version 7.3 and LIMIT i,j

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Brian Boonstra <boonstb(at)cmg(dot)FCNBD(dot)COM>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Version 7.3 and LIMIT i,j
Date: 2003-01-26 22:39:39
Message-ID: 200301262239.h0QMddf13338@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc


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(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

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

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Bruce Momjian 2003-01-27 06:25:16 Re: Scalability in PostgreSQL
Previous Message Dave Cramer 2003-01-26 20:36:30 unix version won't configure