#include "access/gist.h"
#include "access/itup.h"
#include "access/stratnum.h"
#include "storage/bufpage.h"
Go to the source code of this file.
Definition at line 1041 of file trgm_op.c.
References ARRNELEM, CALCSML, CMPTRGM, and GETARR.
Referenced by gtrgm_consistent(), gtrgm_distance(), and similarity().
Definition at line 248 of file trgm_op.c.
References COMP_LEGACY_CRC32, CPTRGM, crc, FIN_LEGACY_CRC32, INIT_LEGACY_CRC32, and str.
Referenced by fillTrgm(), and make_trigrams().
Definition at line 524 of file trgm_regexp.c.
References ALLOCSET_DEFAULT_SIZES, AllocSetContextCreate, createTrgmNFAInternal(), CurrentMemoryContext, MemoryContextDelete(), MemoryContextSwitchTo(), RE_compile(), REG_ADVANCED, REG_ICASE, REG_NOSUB, and regex_t.
Referenced by gin_extract_query_trgm(), and gtrgm_consistent().
Definition at line 406 of file trgm_op.c.
References ARRKEY, CALCGTSIZE, comp_trgm(), TRGM::flag, generate_trgm_only(), GETARR, len, palloc(), protect_out_of_mem(), qsort, qunique(), SET_VARSIZE(), str, and TRGMHDRSIZE.
Referenced by gin_extract_query_trgm(), gin_extract_value_trgm(), gtrgm_compress(), gtrgm_consistent(), gtrgm_distance(), show_trgm(), and similarity().
Definition at line 916 of file trgm_op.c.
References ARRKEY, buf, CALCGTSIZE, comp_trgm(), TRGM::flag, get_wildcard_part(), GETARR, len, LPADDING, make_trigrams(), palloc(), pfree(), protect_out_of_mem(), qsort, qunique(), RPADDING, SET_VARSIZE(), str, str_tolower(), and TRGMHDRSIZE.
Referenced by gin_extract_query_trgm(), and gtrgm_consistent().
Definition at line 182 of file trgm_op.c.
References elog, ERROR, similarity_threshold, SimilarityStrategyNumber, strict_word_similarity_threshold, StrictWordSimilarityStrategyNumber, word_similarity_threshold, and WordSimilarityStrategyNumber.
Referenced by gin_trgm_consistent(), gin_trgm_triconsistent(), and gtrgm_consistent().
Definition at line 985 of file trgm_op.c.
References val.
Referenced by gin_extract_query_trgm(), gin_extract_value_trgm(), and show_trgm().
Definition at line 1089 of file trgm_op.c.
References ARRNELEM, CMPTRGM, and GETARR.
Referenced by gtrgm_consistent().
Definition at line 1128 of file trgm_op.c.
References ARRNELEM, CMPTRGM, GETARR, i, sort-test::key, and palloc0().
Referenced by gtrgm_consistent().
Definition at line 628 of file trgm_regexp.c.
References TrgmPackedGraph::colorTrigramGroups, TrgmPackedGraph::colorTrigramsActive, TrgmPackedGraph::colorTrigramsCount, i, j, TrgmPackedGraph::states, TrgmPackedGraph::statesActive, TrgmPackedGraph::statesCount, and TrgmPackedGraph::statesQueue.
Referenced by gin_trgm_consistent(), gin_trgm_triconsistent(), and gtrgm_consistent().
Definition at line 49 of file trgm_op.c.
Referenced by calc_word_similarity(), CMPTRGM_CHOOSE(), cnt_sml(), comp_ptrgm(), comp_trgm(), gtrgm_same(), trgm_contained_by(), and trgm_presence_map().
Definition at line 27 of file trgm_op.c.
Referenced by _PG_init(), index_strategy_get_limit(), set_limit(), show_limit(), and similarity_op().
Definition at line 29 of file trgm_op.c.
Referenced by _PG_init(), index_strategy_get_limit(), iterate_word_similarity(), strict_word_similarity_commutator_op(), and strict_word_similarity_op().
Definition at line 28 of file trgm_op.c.
Referenced by _PG_init(), index_strategy_get_limit(), iterate_word_similarity(), word_similarity_commutator_op(), and word_similarity_op().