Search Postgresql Archives

Re: Strange limit and offset behaviour....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 7 Feb 2009 22:03:37 +0000
Grzegorz Jaśkiewicz <gryzman@xxxxxxxxx> wrote:

> On Sat, Feb 7, 2009 at 9:57 PM, Bjørn T Johansen <btj@xxxxxxxxxx> wrote:
> >> > SELECT * from table order by dato asc
> 
> is the field 'dato' the same in both cases ? if so - you're goood
> just compare:
> 
> select dato from table order by dato asc limit 10;
> with
> select dato from table order by dato asc limit 10 offset 0;
> 
> 
> 

yes, they are the same... And returns the same, now when I have created an index for the dato field...

BTJ

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux