Japin Li <japinli@hotmail.com> writes:
> On Tue, 09 Aug 2022 at 12:52, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> There's a reason why CREATE TEXT SEARCH TEMPLATE is superuser-only:
>> it's on you to supply valid parameters. varchar_support is a
>> completely inappropriate choice for a TS template init function.
> I didn't see documentation that describes which function is appropriate for a
> TS template init function.
Umm ... maybe one that claims to be a TS init function? I'm not
sure why you're having a hard time believing that varchar_support
is not that.
regards, tom lane