Re: Determining Rank - Mailing list pgsql-sql

From PFC
Subject Re: Determining Rank
Date
Msg-id opslozmmfwth1vuj@musicbox
Whole thread Raw
In response to Re: Determining Rank  (Don Drake <dondrake@gmail.com>)
List pgsql-sql
> Michael,
>
> That's an excellent solution, but on my table, the explain plan sucks
> and the query time is over 3 minutes when implemented.  Is there a
> simple way to get a row_num without using a temporary sequence?
>
> Thanks for your help.
>
> -Don
Make your query a set returning function which iterates over the query  
results and returns a number as well ?


pgsql-sql by date:

Previous
From: Don Drake
Date:
Subject: Re: Determining Rank
Next
From: "Joel Fradkin"
Date:
Subject: Assoclist is still slow and I am not seeing it