Skip to content

Commit c93a484

Browse files
author
Arseny Kositsyn
committed
[PGPRO-11599] The situation of many altOrderKeys has been fixed.
A query can contain several conditions for the same column, and if this column in the index is sorted by additional information, then the query contains several keys, each of which is sorted by additional information. The scanGetItemRegular() function did not take this into account. This commit corrects this situation. Tags: rum
1 parent a56831a commit c93a484

File tree

2 files changed

+148
-107
lines changed

2 files changed

+148
-107
lines changed

src/rum.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -768,8 +768,7 @@ typedef struct RumScanOpaqueData
768768
* The case of a key scan, which is
769769
* ordered by additional information.
770770
*/
771-
bool scanWithAltOrderKey;
772-
int altOrderKeyNum;
771+
bool scanWithAltOrderKeys;
773772
} RumScanOpaqueData;
774773

775774
typedef RumScanOpaqueData *RumScanOpaque;

0 commit comments

Comments
 (0)