tsearch2::trunc_to_max (private)

 tsearch2::trunc_to_max txt

Defined in packages/tsearch2-driver/tcl/tsearch2-driver-procs.tcl

tsearch has (at least up to PostgreSQL 10) the limitation that the length of tsvector is 1MB. so make sure, we do not raise errors, when this happens. https://www.postgresql.org/docs/current/static/textsearch-limitations.html

Parameters:
txt (required)

Partial Call Graph (max 5 caller/called nodes):
%3 tsearch2::index tsearch2::index (public) tsearch2::trunc_to_max tsearch2::trunc_to_max tsearch2::index->tsearch2::trunc_to_max apm_package_id_from_key apm_package_id_from_key (public) tsearch2::trunc_to_max->apm_package_id_from_key parameter::get parameter::get (public) tsearch2::trunc_to_max->parameter::get

Testcases:
No testcase defined.
[ show source ]
Show another procedure: