Re: Override sort order

Поиск
Список
Период
Сортировка
От Anthony Ananich
Тема Re: Override sort order
Дата
Msg-id A7D2701A-6B60-454B-B291-5A0F87037ECC@gmail.com
обсуждение исходный текст
Ответ на Override sort order  (Anthony Ananich <anton.ananich@gmail.com>)
Список pgsql-docs
Just in case: by previous question I mean this one:

On Jun 28, 2016, at 14:31, Anthony Ananich <anton.ananich@gmail.com> wrote:

Dear All,

I’ve got a need to change sort order for jsonb field. I’m looking for a way to change “order by” behavior like it is described in my previous question.

I’ve found a piece of doc which says that it is possible to override method “int compare(Datum a, Datum b)” here:
https://www.postgresql.org/docs/9.5/static/gin-extensibility.html

I wonder if there are any examples available? 

If not I’m opened to offer my help in making one.

Regards,
Anthony Ananich

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

Предыдущее
От: Anthony Ananich
Дата:
Сообщение: Override sort order
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: effective_io_concurrency and SSDs