Re: [DOCS] Override sort order

2016-06-28 Thread Anthony Ananich
Just in case: by previous question I mean this one: https://www.postgresql.org/message-id/1bfcd444-70dd-4a32-b2ab-cefcc2922...@gmail.com On Jun 28, 2016, at 14:31, Anthony Ananich wrote: > Dear All, > > I’ve got a need to change sort order for jsonb field. I’m looking for a way > to change “or

[DOCS] Override sort order

2016-06-28 Thread Anthony Ananich
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.postgre