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

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: Fixing the representation of ORDER BY/GROUP BY/DISTINCT
Дата
Msg-id 87ljzhgcg7.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на Fixing the representation of ORDER BY/GROUP BY/DISTINCT  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Fixing the representation of ORDER BY/GROUP BY/DISTINCT  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
"Tom Lane" <tgl@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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: Fixing the representation of ORDER BY/GROUP BY/DISTINCT
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Review: DTrace probes (merged version) ver_03