From: | Simon Riggs <simon(at)2ndquadrant(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Bruce Momjian <bruce(at)momjian(dot)us>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: FETCH FIRST |
Date: | 2008-03-25 15:57:59 |
Message-ID: | 1206460679.4285.948.camel@ebony.site |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, 2008-03-25 at 11:47 -0400, Tom Lane wrote:
> Simon Riggs <simon(at)2ndquadrant(dot)com> writes:
> > On Tue, 2008-03-25 at 10:45 -0400, Bruce Momjian wrote:
> >> Where does this FETCH appear in a SELECT?
>
> > It's supposed to go *after* the OFFSET clause in a query, but making it
> > a simple synonym for LIMIT seems most sensible.
>
> Huh? OFFSET isn't in standard SQL either.
Tis now.
> Are you sure you're not
> confusing FETCH-from-a-cursor with SELECT?
Quite sure.
--
Simon Riggs
2ndQuadrant http://www.2ndQuadrant.com
PostgreSQL UK 2008 Conference: http://www.postgresql.org.uk
From | Date | Subject | |
---|---|---|---|
Next Message | Simon Riggs | 2008-03-25 16:02:25 | Re: TRUNCATE TABLE with IDENTITY |
Previous Message | Tom Lane | 2008-03-25 15:56:54 | Re: HP-UX 11.11 PostgreSQL 8.3.1 - psql core dumps - Unresolved symbol: tgetent |