Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8627439

Browse files
author
Arseny Kositsyn
committed
[PGPRO-11599] Code review. Part 4.
Tags: rum
1 parentabb40fa commit8627439

File tree

8 files changed

+14
-7
lines changed

8 files changed

+14
-7
lines changed

‎README.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ This module is available under the [license](LICENSE) similar to
4545

4646
Before building and installing**rum**, you should ensure following are installed:
4747

48-
* PostgreSQL version is 9.6+.
48+
* PostgreSQL version is 12+.
49+
50+
* PostgreSQL 9.6 - 11 (but you need to transfer the`src/backend/nodes/tidbitmap.c` of the required version to the`contrib/rum/src/tidbitmap/tidbitmapXX.c` and include it to`contrib/rum/src/rumtidbitmap.c`)
4951

5052
Typical installation procedure may look like this:
5153

‎src/rumtidbitmap.c‎

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,23 @@
1414

1515
#include"rumtidbitmap.h"
1616

17+
/*
18+
* NOTE: For compatibility with PostgreSQL versions less than 12,
19+
* you need to transfer the src/backend/nodes/tidbitmap.c of the
20+
* required version to the RUM and include it here.
21+
*/
1722
#ifPG_VERSION_NUM >=170000
18-
#include"tidbitmap17.c"
23+
#include"tidbitmap/tidbitmap17.c"
1924
#elifPG_VERSION_NUM >=160000
20-
#include"tidbitmap16.c"
25+
#include"tidbitmap/tidbitmap16.c"
2126
#elifPG_VERSION_NUM >=150000
22-
#include"tidbitmap15.c"
27+
#include"tidbitmap/tidbitmap15.c"
2328
#elifPG_VERSION_NUM >=140000
24-
#include"tidbitmap14.c"
29+
#include"tidbitmap/tidbitmap14.c"
2530
#elifPG_VERSION_NUM >=130000
26-
#include"tidbitmap13.c"
31+
#include"tidbitmap/tidbitmap13.c"
2732
#elifPG_VERSION_NUM >=120000
28-
#include"tidbitmap12.c"
33+
#include"tidbitmap/tidbitmap12.c"
2934
#endif
3035

3136
RumTIDBitmap*
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp