Version 7.3 and LIMIT i,j

Поиск
Список
Период
Сортировка
Искать

Version 7.3 and LIMIT i,j

От:
Brian Boonstra <boonstb@cmg.FCNBD.COM>
Дата:
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

Re: Version 7.3 and LIMIT i,j

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:

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
FAQ