array sort for varchar arrays?

From: "Matthew Dennis" <mdennis(at)merfer(dot)net>
To: PGSQL <pgsql-general(at)postgresql(dot)org>
Subject: array sort for varchar arrays?
Date: 2008-07-08 21:53:18
Message-ID: e94d85500807081453v6a9b70f5l52f8555b5b30bae3@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'm likely overlooking something, but I can't seem to find a function to
sort a varchar array. Something like "select sort('{y,z,x}'::varchar[])" =>
{'x','y','z'}.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Nikolay Samokhvalov 2008-07-08 21:54:52 Happy birthday!
Previous Message MadHatter 2008-07-08 21:46:29 plpgsql - or operator?