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