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

Appearance settings

Commit 0e5f0e0

Browse filesBrowse files
committed
[PGPRO-4224] Make compile on v13 (LogicalTapeSetCreate changes). Silence waring in switch().
Tags: rum
1 parent 4e2a49f commit 0e5f0e0
Copy full SHA for 0e5f0e0

File tree

2 files changed

+5
-0
lines changed
Filter options

2 files changed

+5
-0
lines changed

‎src/rumsort.c

Copy file name to clipboardExpand all lines: src/rumsort.c
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@
4040
#endif
4141

4242
#if PG_VERSION_NUM >= 110000
43+
#if PG_VERSION_NUM >= 130000
44+
#define LogicalTapeSetCreate(X) LogicalTapeSetCreate(X, false, NULL, NULL, 1)
45+
#else
4346
#define LogicalTapeSetCreate(X) LogicalTapeSetCreate(X, NULL, NULL, 1)
47+
#endif
4448
#define LogicalTapeFreeze(X, Y) LogicalTapeFreeze(X, Y, NULL)
4549
#endif
4650

‎src/rumtsquery.c

Copy file name to clipboardExpand all lines: src/rumtsquery.c
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ make_query_item_wrap(QueryItem *item, QueryItemWrap *parent, bool not)
108108
}
109109
case OP_PHRASE:
110110
elog(ERROR, "Indexing of phrase tsqueries isn't supported yet");
111+
break;
111112
default:
112113
elog(ERROR, "Invalid tsquery operator");
113114
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.