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

Commit6530adc

Browse files
committed
[PGPRO-6780] Fix Windows warnings
1 parent1ffa817 commit6530adc

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

‎src/rum.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -868,9 +868,9 @@ extern Datum rum_anyarray_distance(PG_FUNCTION_ARGS);
868868

869869

870870
/* GUC parameters */
871-
externPGDLLIMPORTintRumFuzzySearchLimit;
872-
externPGDLLIMPORTfloat8RumArraySimilarityThreshold;
873-
externPGDLLIMPORTintRumArraySimilarityFunction;
871+
externintRumFuzzySearchLimit;
872+
externfloat8RumArraySimilarityThreshold;
873+
externintRumArraySimilarityFunction;
874874

875875

876876
/*

‎src/rum_ts_utils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ typedef struct
172172
DocRepresentation*end;
173173
}Extention;
174174

175-
staticfloatweights[]= {1.0/0.1f,1.0/0.2f,1.0/0.4f,1.0/1.0f};
175+
staticfloatweights[]= {1.0f/0.1f,1.0f/0.2f,1.0f/0.4f,1.0f/1.0f};
176176

177177
/* A dummy WordEntryPos array to use when haspos is false */
178178
staticWordEntryPosVectorPOSNULL= {

‎src/rumsort.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,10 @@ rum_item_size(RumTuplesortstate * state)
208208
elseif (state->copytup==copytup_rumitem)
209209
returnsizeof(RumScanItem);
210210
else
211+
{
211212
elog (FATAL,"Unknown RUM state");
213+
return0;
214+
}
212215
}
213216

214217
staticvoid

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp