Re: Override sort order

From: Anthony Ananich <anton(dot)ananich(at)gmail(dot)com>
To: pgsql-docs(at)postgresql(dot)org
Subject: Re: Override sort order
Date: 2016-06-28 11:58:38
Message-ID: A7D2701A-6B60-454B-B291-5A0F87037ECC@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Just in case: by previous question I mean this one:
https://www.postgresql.org/message-id/1BFCD444-70DD-4A32-B2AB-CEFCC2922419@gmail.com

On Jun 28, 2016, at 14:31, Anthony Ananich <anton(dot)ananich(at)gmail(dot)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
> http://ananich.pro

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2016-06-28 20:09:23 Re: effective_io_concurrency and SSDs
Previous Message Anthony Ananich 2016-06-28 11:31:02 Override sort order