Re: PG12 Server on crash on creating FTS dictionary

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: PG12 Server on crash on creating FTS dictionary
Date: 2020-07-14 13:59:13
Message-ID: 2816065.1594735153@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com> writes:
> I've encountered a server crash on creating FTS dictionary with below SQLs:

> CREATE TEXT SEARCH TEMPLATE public.ftstemp (
> INIT = varchar_support,
> LEXIZE = dispell_lexize
> );

This is just pilot error; varchar_support() is surely not a suitable
init function for a text search template.

(The reason this command is superuser-only is exactly that we have to
trust the user to specify a sane set of functions.)

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Aditya Toshniwal 2020-07-14 14:10:50 Re: PG12 Server on crash on creating FTS dictionary
Previous Message Aditya Toshniwal 2020-07-14 10:22:20 PG12 Server on crash on creating FTS dictionary