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

Commit0e5f0e0

Browse files
committed
[PGPRO-4224] Make compile on v13 (LogicalTapeSetCreate changes). Silence waring in switch().
Tags: rum
1 parent4e2a49f commit0e5f0e0

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

‎src/rumsort.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@
4040
#endif
4141

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

‎src/rumtsquery.c

Lines 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
caseOP_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)

[8]ページ先頭

©2009-2025 Movatter.jp