Add hash support functions and hash opclass for contrib/ltree. This also enables hash join and hash aggregation on ltree columns.
Tommy Pavlicek, reviewed by jian he Discussion: https://postgr.es/m/caehp-w9zeoheap_nknpcvd_o1c3bauvq1gwhrq8ebknris9...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/485f0aa85995340fb62113448c992ee48dc6fff1 Modified Files -------------- contrib/ltree/Makefile | 3 +- contrib/ltree/expected/ltree.out | 68 ++++++++++++++++++++++++++++++++++++++ contrib/ltree/ltree--1.2--1.3.sql | 23 +++++++++++++ contrib/ltree/ltree.control | 2 +- contrib/ltree/ltree_op.c | 69 +++++++++++++++++++++++++++++++++++++++ contrib/ltree/ltreetest.sql | 1 + contrib/ltree/meson.build | 3 +- contrib/ltree/sql/ltree.sql | 47 ++++++++++++++++++++++++++ doc/src/sgml/ltree.sgml | 8 +++++ 9 files changed, 221 insertions(+), 3 deletions(-)