Re: [HACKERS] Allow ORDER BY a Function - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] Allow ORDER BY a Function
Date
Msg-id 199811212010.PAA01883@candle.pha.pa.us
Whole thread Raw
In response to Allow ORDER BY a Function  (David Hartwig <daveh@insightdist.com>)
List pgsql-hackers
Updated.

> Bruce,
> 
> Small correction to the TODO list.    The "allow ORDER BY a function"
> feature already exist in 6.4.
> 
>     EXAMPLES:
> 
>         SELECT foo FROM bar ORDER BY upper(foo);
> 
>         -- or any other expression for that matter
> 
>         SELECT foo FROM bar ORDER BY  att1 || att2;
> 
> It was done as part of the "allow GROUP BY a function" feature.
> 
> 
> 


--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: "Hui Chun Kit, Jacky"
Date:
Subject: Questions on using multi-byte character in a field of a table (BIG5)
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Bug in 6.4 release