Sorting array field

From: Pete Deffendol <peter(dot)deffendol(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Sorting array field
Date: 2005-12-22 15:38:46
Message-ID: a1db1de60512220738x4d36f124u3c8629e33d38958e@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

Can anyone point me toward an SQL function (whether built-in or an add-on)
that will allow me to sort the contents of an array datatype in an SQL
query?

Something like this:

select sort(my_array_field) from my_table;

Thanks!

Pete

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jim C. Nasby 2005-12-22 15:45:12 Re: view or index to optimize performance
Previous Message Jim C. Nasby 2005-12-22 15:33:25 Re: Indices for select count(*)?