postgresql/contrib/ltree
Alexander Korotkov 7e74aafc43 Fix default signature length for gist_ltree_ops
911e702077 implemented operator class parameters including the signature length
in ltree.  Previously, the signature length for gist_ltree_ops was 8.  Because
of bug 911e702077 the default signature length for gist_ltree_ops became 28 for
ltree 1.1 (where options method is NOT provided) and 8 for ltree 1.2 (where
options method is provided).  This commit changes the default signature length
for ltree 1.1 to 8.

Existing gist_ltree_ops indexes might be corrupted in various scenarios.
Thus, we have to recommend reindexing all the gist_ltree_ops indexes after
the upgrade.

Reported-by: Victor Yegorov
Reviewed-by: Tomas Vondra, Tom Lane, Andres Freund, Nikita Glukhov
Reviewed-by: Andrew Dunstan
Author: Tomas Vondra, Alexander Korotkov
Discussion: https://postgr.es/m/17406-71e02820ae79bb40%40postgresql.org
Discussion: https://postgr.es/m/d80e0a55-6c3e-5b26-53e3-3c4f973f737c%40enterprisedb.com
2022-03-16 11:41:18 +03:00
..
data
expected
sql
_ltree_gist.c
_ltree_op.c
.gitignore
crc32.c Adjust MSVC build scripts to parse Makefiles for defines 2021-07-29 12:01:23 +12:00
crc32.h
lquery_op.c
ltree_gist.c Fix default signature length for gist_ltree_ops 2022-03-16 11:41:18 +03:00
ltree_io.c
ltree_op.c Clean up more code using "(expr) ? true : false" 2021-10-11 09:36:42 +09:00
ltree--1.0--1.1.sql
ltree--1.1--1.2.sql
ltree--1.1.sql
ltree.control
ltree.h Fix default signature length for gist_ltree_ops 2022-03-16 11:41:18 +03:00
ltreetest.sql
ltxtquery_io.c
ltxtquery_op.c
Makefile Adjust MSVC build scripts to parse Makefiles for defines 2021-07-29 12:01:23 +12:00