Re: Fixing the representation of ORDER BY/GROUP BY/DISTINCT

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Fixing the representation of ORDER BY/GROUP BY/DISTINCT
Date: 2008-08-01 12:13:44
Message-ID: 87ljzhgcg7.fsf@oxford.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> typedef struct SortGroupClause
> {
> NodeTag type;
> Index tleSortGroupRef; /* reference into targetlist */
> Oid eqop; /* the equality operator ('=' op) */
> Oid sortop; /* the ordering operator ('<' op), or 0 */
> bool nulls_first; /* do NULLs come before normal values? */
> } SortGroupClause;

So ASC/DESC is represented by using > for sortop?

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com
Ask me about EnterpriseDB's On-Demand Production Tuning

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2008-08-01 13:19:47 Re: Review: DTrace probes (merged version) ver_03
Previous Message Gregory Stark 2008-08-01 12:10:18 Re: Fixing the representation of ORDER BY/GROUP BY/DISTINCT