Re: PG12 Server on crash on creating FTS dictionary

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

On Tue, Jul 14, 2020 at 7:29 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> 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.

I have no particular use-case for this. It was just a test case and the
server crashed. Thought of sharing. Thanks.

>
>
> (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
>

--
Thanks and Regards,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Devraj B 2020-07-15 03:42:20 How to connect PostgreSQL (9.6.17) database from Macbook Pro Terminal using JumpCloud password?
Previous Message Tom Lane 2020-07-14 13:59:13 Re: PG12 Server on crash on creating FTS dictionary