Re: Variable LIMIT and OFFSET in SELECTs

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Reg Me Please <regmeplease(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Variable LIMIT and OFFSET in SELECTs
Date: 2007-11-15 05:41:08
Message-ID: 24726.1195105268@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Reg Me Please <regmeplease(at)gmail(dot)com> writes:
> create table limoff( l int, o int );
> insert into limoff values ( 10,2 );
> select a.* from atable a,limoff limit l offset o;

I am truly curious what you think the semantics of that ought to be.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message சிவகுமார் மா 2007-11-15 07:54:04 Enforcing Join condition
Previous Message SHARMILA JOTHIRAJAH 2007-11-15 03:25:03 Re: pg_dump problem