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

Commit86bc9c9

Browse files
author
Artur Zakirov
committed
Style fixes
1 parent71c1d95 commit86bc9c9

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

‎rum_ts_utils.c

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1319,19 +1319,19 @@ rum_tsvector_config(PG_FUNCTION_ARGS)
13191319
Datum
13201320
rum_ts_join_pos(PG_FUNCTION_ARGS)
13211321
{
1322-
DatumaddInfo1=PG_GETARG_DATUM(0);
1323-
DatumaddInfo2=PG_GETARG_DATUM(1);
1324-
char*in1=VARDATA_ANY(addInfo1),
1325-
*in2=VARDATA_ANY(addInfo2);
1326-
bytea*result;
1327-
intcount1=count_pos(in1,VARSIZE_ANY_EXHDR(addInfo1)),
1328-
count2=count_pos(in2,VARSIZE_ANY_EXHDR(addInfo2)),
1329-
countRes=0,
1330-
i1=0,i2=0,size;
1331-
uint16pos1,pos2,*pos;
1332-
1333-
result=palloc(VARHDRSZ+sizeof(uint16)* (count1+count2));
1334-
pos=palloc(sizeof(uint16)* (count1+count2));
1322+
DatumaddInfo1=PG_GETARG_DATUM(0);
1323+
DatumaddInfo2=PG_GETARG_DATUM(1);
1324+
char*in1=VARDATA_ANY(addInfo1),
1325+
*in2=VARDATA_ANY(addInfo2);
1326+
bytea*result;
1327+
intcount1=count_pos(in1,VARSIZE_ANY_EXHDR(addInfo1)),
1328+
count2=count_pos(in2,VARSIZE_ANY_EXHDR(addInfo2)),
1329+
countRes=0,
1330+
i1=0,i2=0,size;
1331+
WordEntryPospos1,pos2,*pos;
1332+
1333+
result=palloc(VARHDRSZ+sizeof(WordEntryPos)* (count1+count2));
1334+
pos=palloc(sizeof(WordEntryPos)* (count1+count2));
13351335

13361336
Assert(count1>0&&count2>0);
13371337

‎rumvalidate.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ rumvalidate(Oid opclassoid)
160160
opcintype,opcintype,INT2OID);
161161
break;
162162
caseRUM_ADDINFO_JOIN:
163-
ok= true;/* XXX */
163+
ok=check_amproc_signature(procform->amproc,BYTEAOID, false,
164+
2,2,opckeytype,opckeytype);
164165
break;
165166
default:
166167
ereport(INFO,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp