diff options
Diffstat (limited to 'src/backend/utils/adt/tsquery.c')
-rw-r--r-- | src/backend/utils/adt/tsquery.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/utils/adt/tsquery.c b/src/backend/utils/adt/tsquery.c index c8011a8ea92..5226bae2d17 100644 --- a/src/backend/utils/adt/tsquery.c +++ b/src/backend/utils/adt/tsquery.c @@ -280,9 +280,9 @@ pushValue(TSQueryParserState state, char *strval, int lenval, int16 weight, bool errmsg("word is too long in tsquery: \"%s\"", state->buffer))); - INIT_CRC32(valcrc); - COMP_CRC32(valcrc, strval, lenval); - FIN_CRC32(valcrc); + INIT_LEGACY_CRC32(valcrc); + COMP_LEGACY_CRC32(valcrc, strval, lenval); + FIN_LEGACY_CRC32(valcrc); pushValue_internal(state, valcrc, state->curop - state->op, lenval, weight, prefix); /* append the value string to state.op, enlarging buffer if needed first */ @@ -883,9 +883,9 @@ tsqueryrecv(PG_FUNCTION_ARGS) /* Looks valid. */ - INIT_CRC32(valcrc); - COMP_CRC32(valcrc, val, val_len); - FIN_CRC32(valcrc); + INIT_LEGACY_CRC32(valcrc); + COMP_LEGACY_CRC32(valcrc, val, val_len); + FIN_LEGACY_CRC32(valcrc); item->qoperand.weight = weight; item->qoperand.prefix = (prefix) ? true : false; |