Re: Sorting by an arbitrary criterion

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Craig James" <craig_james(at)emolecules(dot)com>, <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Sorting by an arbitrary criterion
Date: 2009-07-09 16:39:04
Message-ID: 4A55D6D80200002500028659@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Craig James <craig_james(at)emolecules(dot)com> wrote:
> Suppose I have a large table with a small-cardinality CATEGORY
> column (say, categories 1..5). I need to sort by an arbitrary
> (i.e. user-specified) mapping of CATEGORY

There was a recent thread discussing ways to do that:

http://archives.postgresql.org/pgsql-admin/2009-07/msg00016.php

-Kevin

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Alexander Staubo 2009-07-09 16:39:15 Re: Sorting by an arbitrary criterion
Previous Message Tom Lane 2009-07-09 16:38:39 Re: Sorting by an arbitrary criterion