We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentda84306 commit1685267Copy full SHA for 1685267
Makefile
@@ -35,6 +35,15 @@ endif
35
wal-check: temp-install
36
$(prove_check)
37
38
+all: rum--1.1.sql
39
+
40
+#9.6 requires 1.1 file but 10.0 could live with 1.0 + 1.0-1.1 files
41
+rum--1.1.sql: rum--1.0.sql rum--1.0--1.1.sql
42
+cat rum--1.0.sql rum--1.0--1.1.sql> rum--1.1.sql
43
44
+rum--1.0--1.1.sql: Makefile gen_rum_sql--1.0--1.1.pl
45
+perl gen_rum_sql--1.0--1.1.pl> rum--1.0--1.1.sql
46
47
install: installincludes
48
49
installincludes:
src/rum.h
@@ -702,12 +702,12 @@ typedef struct RumScanOpaqueData
702
intnorderbys;/* Number of columns in ordering.
703
Will be assigned to sortstate->nKeys */
704
705
-RumItemitem;
+RumItemitem;/* current item used in index scan */
706
boolfirstCall;
707
708
boolisVoidRes;/* true if query is unsatisfiable */
-boolwillSort;
709
+boolwillSort;/* is there any columns in ordering */
710
RumScanTypescanType;
-TIDBitmap*tbm;
711
712
ScanDirectionnaturalOrder;
713
boolsecondPass;
src/rumget.c
@@ -2044,17 +2044,6 @@ rumgetbitmap(IndexScanDesc scan, TIDBitmap *tbm)
2044
2045
ntids=0;
2046
2047
-/*
2048
- * First, scan the pending list and collect any matching entries into the
2049
- * bitmap. After we scan a pending item, some other backend could post it
2050
- * into the main index, and so we might visit it a second time during the
2051
- * main scan. This is okay because we'll just re-set the same bit in the
2052
- * bitmap. (The possibility of duplicate visits is a major reason why RUM
2053
- * can't support the amgettuple API, however.) Note that it would not do
2054
- * to scan the main index before the pending list, since concurrent
2055
- * cleanup could then make us miss entries entirely.
2056
- */
2057
-so->tbm=tbm;
2058
so->entriesIncrIndex=-1;
2059
2060
/*
src/rumscan.c
@@ -534,7 +534,6 @@ rumNewScanKey(IndexScanDesc scan)
534
535
so->naturalOrder=NoMovementScanDirection;
536
so->secondPass= false;
537
-so->tbm=NULL;
538
539
so->norderbys=scan->numberOfOrderBys;
540
so->willSort= false;