Search Postgresql Archives

Re: plpgsql - sorting result set

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

 



On Wed, Aug 20, 2008 at 7:20 PM, Robert Gobeille <bob.gobeille@xxxxxx> wrote:
> Is it possible to sort a result set in plpgsql?
>
> That is, after building up the result set with RETURN NEXT  from multiple
> queries, I'd like to sort the set before returning.
>
> I'm still using 8.1 if that is an issue.

Have you already ruled out:

select * from (select * from your_func()) order by something?

if so, why?
merlin


[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