aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistproc.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2019-10-15 10:40:13 -0700
committerAndres Freund <andres@anarazel.de>2019-10-15 10:40:13 -0700
commitcef82eda1464193ab84a58610a388572d456c8c5 (patch)
treeb8d6be4f685e7a04cb85ab743d76209571d6b0d5 /src/backend/access/gist/gistproc.c
parent3a0e85739490e5cd50e5eba382ae3c9cc3bc2fca (diff)
downloadpostgresql-cef82eda1464193ab84a58610a388572d456c8c5.tar.gz
postgresql-cef82eda1464193ab84a58610a388572d456c8c5.zip
Fix CLUSTER on expression indexes.
Since the introduction of different slot types, in 1a0586de3657, we create a virtual slot in tuplesort_begin_cluster(). While that looks right, it unfortunately doesn't actually work, as ExecStoreHeapTuple() is used to store tuples in the slot. Unfortunately no regression tests for CLUSTER on expression indexes existed so far. Fix the slot type, and add bare bones tests for CLUSTER on expression indexes. Reported-By: Justin Pryzby Author: Andres Freund Discussion: https://postgr.es/m/20191011210320.GS10470@telsasoft.com Backpatch: 12, like 1a0586de3657
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions