1 Aug 2008 14:13
Re: Fixing the representation of ORDER BY/GROUP BY/DISTINCT
Gregory Stark <stark <at> enterprisedb.com>
2008-08-01 12:13:44 GMT
2008-08-01 12:13:44 GMT
"Tom Lane" <tgl <at> sss.pgh.pa.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
--
--
Sent via pgsql-hackers mailing list (pgsql-hackers <at> postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
RSS Feed