Re: [HACKERS] Allow ORDER BY a Function

Bruce Momjian <maillist@candle.pha.pa.us>

From: Bruce Momjian <maillist@candle.pha.pa.us>
To: daveh@insightdist.com (David Hartwig)
Cc: pgsql-hackers@postgreSQL.org
Date: 1998-11-21T20:10:49Z
Lists: 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, Pennsylvania 19026