aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/complex.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:51 -0700
commit6d3fe6b6bf05777cb7152b462594a1993af15857 (patch)
treea51704d01ab7687ac0bb7b72730089a8b63589f9 /src/tutorial/complex.c
parent702fd3b717f59b1fada3742f2f0eb529717fc3f9 (diff)
downloadpostgresql-6d3fe6b6bf05777cb7152b462594a1993af15857.tar.gz
postgresql-6d3fe6b6bf05777cb7152b462594a1993af15857.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/tutorial/complex.c')
0 files changed, 0 insertions, 0 deletions