Update tsearch regex memory management. Now that our regex engine uses palloc(), it's not necessary to set up a special memory context callback to free compiled regexes. The regex has no resources other than the memory that is already going to be freed in bulk.
Reviewed-by: Tom Lane <t...@sss.pgh.pa.us> Discussion: https://postgr.es/m/CA%2BhUKGK3PGKwcKqzoosamn36YW-fsuTdOPPF1i_rtEO%3DnEYKSg%40mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/4f51429dd7f194e36af32b557ecdce555b5ab51b Modified Files -------------- src/backend/tsearch/spell.c | 34 +++++++--------------------------- src/include/tsearch/dicts/spell.h | 18 ++++++------------ 2 files changed, 13 insertions(+), 39 deletions(-)