pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Version 7.3 and LIMIT i,j
2+ messages / 2 participants
[nested] [flat]

* Version 7.3 and LIMIT i,j
@ 2003-01-21 22:59 Brian Boonstra <boonstb@cmg.FCNBD.COM>
  2003-01-26 22:39 ` Re: Version 7.3 and LIMIT i,j Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Brian Boonstra @ 2003-01-21 22:59 UTC (permalink / raw)
  To: pgsql-odbc

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Version 7.3 and LIMIT i,j
  2003-01-21 22:59 Version 7.3 and LIMIT i,j Brian Boonstra <boonstb@cmg.FCNBD.COM>
@ 2003-01-26 22:39 ` Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Bruce Momjian @ 2003-01-26 22:39 UTC (permalink / raw)
  To: Brian Boonstra <boonstb@cmg.FCNBD.COM>; +Cc: 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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-01-26 22:39 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-01-21 22:59 Version 7.3 and LIMIT i,j Brian Boonstra <boonstb@cmg.FCNBD.COM>
2003-01-26 22:39 ` Bruce Momjian <pgman@candle.pha.pa.us>

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