Re: 7.1current: order by func in union

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Mikheev, Vadim" <vmikheev(at)SECTORBASE(dot)COM>
Cc: "'pgsql-hackers(at)postgresql(dot)org'" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: 7.1current: order by func in union
Date: 2000-12-22 21:53:24
Message-ID: 19806.977522004@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Mikheev, Vadim" <vmikheev(at)SECTORBASE(dot)COM> writes:
> vac=# select x from tryam union select x from tryam order by length(x);
> ERROR: Attribute 'x' not found

The UNION code doesn't support ordering by resjunk attributes, and never
has (but 7.1 at least knows it can't do it ;-)). Something to fix when
we redesign querytrees.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ed Loehr 2000-12-22 22:46:26 GEQO status?
Previous Message Mikheev, Vadim 2000-12-22 20:14:08 7.1current: order by func in union