Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4b8da39

Browse files
author
Marina Polyakova
committed
Merge remote-tracking branch 'origin/PGPRO-6780' into stable
Conflicts: src/rumsort.c Caused by the following commits: - 6530adc [PGPRO-6780] Fix Windows warnings - 5719f28 Refactoring to be pg16 ready. - db8b9d6 Add support for pg16. Thanks to Koval Dmitry for the review of conflict resolution.
2 parents e49fce9 + 6530adc commit 4b8da39

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/rum.h

+3-3
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-
extern PGDLLIMPORT int RumFuzzySearchLimit;
872-
extern PGDLLIMPORT float8 RumArraySimilarityThreshold;
873-
extern PGDLLIMPORT int RumArraySimilarityFunction;
871+
extern int RumFuzzySearchLimit;
872+
extern float8 RumArraySimilarityThreshold;
873+
extern int RumArraySimilarityFunction;
874874

875875

876876
/*

src/rum_ts_utils.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ typedef struct
172172
DocRepresentation *end;
173173
} Extention;
174174

175-
static float weights[] = {1.0/0.1f, 1.0/0.2f, 1.0/0.4f, 1.0/1.0f};
175+
static float weights[] = {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
static WordEntryPosVector POSNULL = {

0 commit comments

Comments
 (0)