Simplify dxsyn_lexize(). There's no need to create and free a temporary copy of the input, since str_tolower() is already able to cope with not-certainly- nul-terminated input. (Before v18, copying was needed because this code used lowerstr(), but now we can do without.)
Author: Ayush Tiwari <[email protected]> Reviewed-by: Tom Lane <[email protected]> Discussion: https://postgr.es/m/[email protected] Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/9f03dab4574bd2820eec6902c2ef12b28c706733 Modified Files -------------- contrib/dict_xsyn/dict_xsyn.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-)
