eulerto / pg_similarity

set of functions and operators for executing similarity queries
BSD 3-Clause "New" or "Revised" License
365 stars 40 forks source link

Fix GUC boot values #41

Open df7cb opened 1 year ago

df7cb commented 1 year ago

Fixes assertion failures on cassert-enabled PG16.

LOG:  GUC (PGC_REAL) pg_similarity.euclidean_threshold, boot_val=0.7, C-var=0.7
STATEMENT:  CREATE EXTENSION pg_similarity;
TRAP: failed Assert("check_GUC_init(variable)"), File: "./build/../src/backend/utils/misc/guc.c", Line: 4764, PID: 779990

(Fix developed against 1.0 - please do tag a new version, 1.0 is quite old!)

Close: #39