Anthony Ananich
2016-06-28 11:31:02 UTC
Dear All,
Ive got a need to change sort order for jsonb field. Im looking for a way to change order by behavior like it is described in my previous question.
Ive 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 Im opened to offer my help in making one.
Regards,
Anthony Ananich
http://ananich.pro
Ive got a need to change sort order for jsonb field. Im looking for a way to change order by behavior like it is described in my previous question.
Ive 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 Im opened to offer my help in making one.
Regards,
Anthony Ananich
http://ananich.pro