Re: order by x using varchar_pattern_ops

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: order by x using varchar_pattern_ops
Дата
Msg-id 10738.1219282188@sss.pgh.pa.us
обсуждение исходный текст
Ответ на order by x using varchar_pattern_ops  ("Scott Marlowe" <scott.marlowe@gmail.com>)
Список pgsql-general
"Scott Marlowe" <scott.marlowe@gmail.com> writes:
> But is there a way to force a use of varchar_pattern_ops on a column
> used in an order by?

ORDER BY x USING ~<~    ("asc" direction)
ORDER BY x USING ~>~    ("desc" direction)

(assuming those are the right names of the operators, I'm too lazy
to check)

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: WAL archiving to network drive
Следующее
От: "Merlin Moncure"
Дата:
Сообщение: Re: plpgsql - sorting result set