Re: Version 7.3 and LIMIT i,j

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Version 7.3 and LIMIT i,j
Дата
Msg-id 200301262239.h0QMddf13338@candle.pha.pa.us
обсуждение исходный текст
Ответ на Version 7.3 and LIMIT i,j  (Brian Boonstra <boonstb@cmg.FCNBD.COM>)
Список 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 по дате отправления:

Предыдущее
От: Stefanos Karasavvidis
Дата:
Сообщение: unicode driver + text fields as primary keys
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Scalability in PostgreSQL