"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