public inbox for [email protected]  
help / color / mirror / Atom feed
From: Anthony Ananich <[email protected]>
To: [email protected]
Subject: Re: Override sort order
Date: Tue, 28 Jun 2016 14:58:38 +0300
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-docs>

Just in case: by previous question I mean this one:
https://www.postgresql.org/message-id/[email protected]

On Jun 28, 2016, at 14:31, Anthony Ananich <[email protected]> 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



view thread (2+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: Override sort order
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox