Re: Version 7.3 and LIMIT i,j - Mailing list pgsql-odbc

From Bruce Momjian
Subject Re: Version 7.3 and LIMIT i,j
Date
Msg-id 200301262239.h0QMddf13338@candle.pha.pa.us
Whole thread Raw
In response to Version 7.3 and LIMIT i,j  (Brian Boonstra <boonstb@cmg.FCNBD.COM>)
List 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@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

pgsql-odbc by date:

Previous
From: Stefanos Karasavvidis
Date:
Subject: unicode driver + text fields as primary keys
Next
From: Bruce Momjian
Date:
Subject: Re: Scalability in PostgreSQL