Re: Simulate count result are distinct between 8.3 and 8.4 - Mailing list pgsql-general

From Emanuel Calvo Franco
Subject Re: Simulate count result are distinct between 8.3 and 8.4
Date
Msg-id f205bb120908131053k407e3ff9j48029ccc944c08f6@mail.gmail.com
Whole thread Raw
In response to Re: Simulate count result are distinct between 8.3 and 8.4  (Shoaib Mir <shoaibmir@gmail.com>)
List pgsql-general
>
> Why don't you make it simple and just use row_number() from 8.4... It can be
> simplified as:
>
> select row_number() over(), i, p from prueba limit 5;
>

I know the use of WF. What surprised me, is the difference between
both versions in the same query. I'm trying to understand why happens
and  not look for another way :)


--
              Emanuel Calvo Franco
             Database consultant at:
                    www.siu.edu.ar
        www.emanuelcalvofranco.com.ar

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Encoding question when dumping/restoring databases for upgrade
Next
From: Shane Ambler
Date:
Subject: Re: PostgreSQL for Firefox Bookmarks?