public inbox for [email protected]
help / color / mirror / Atom feedFrom: Anthony Ananich <[email protected]>
To: [email protected]
Subject: Override sort order
Date: Tue, 28 Jun 2016 14:31:02 +0300
Message-ID: <[email protected]> (raw)
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-docs>
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) latest in thread
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