Robert Haas wrote:
> On Thu, Jun 9, 2011 at 2:19 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
> > On tor, 2011-06-09 at 13:30 -0400, Bruce Momjian wrote:
> >> Column numbers in ORDER BY is ANSI syntax so I don't think calling
> >> them "legacy" is accurate. ?"limited functionality"?
> >
> > It was in SQL 92, but removed in 99, so it's technically no longer part
> > of the standard.
Wow, they removed it; I use it all the time.
> It's still extremely widely used though, I think, and very useful. I
> don't feel we have to support GROUP BY 1 COLLATE whatever, but it
> might be worth the trouble to at least emit a decent HINT.
True. Seems now these numbers are PG extensions!
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +