diff --git a/src/pgactive_executor.c b/src/pgactive_executor.c index 75ec4742..444588e0 100644 --- a/src/pgactive_executor.c +++ b/src/pgactive_executor.c @@ -235,6 +235,8 @@ build_index_scan_key(ScanKey skey, Relation rel, Relation idxrel, pgactiveTupleD regop, tup->values[mainattno - 1]); + skey[attoff].sk_collation = idxrel->rd_indcollation[attoff]; + if (tup->isnull[mainattno - 1]) { hasnulls = true;