Lincoln Yeoh <lylyeoh(at)mecomb(dot)com> writes:> [ CASE doesn't work in ORDER BY in 6.5 ]
Fixed in 7.0 (along with a fair number of other CASE-related problems,IIRC).
regards, tom lane