pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: PG12 Server on crash on creating FTS dictionary
Date: Tue, 14 Jul 2020 09:59:13 -0400
Message-ID: <2816065.1594735153@sss.pgh.pa.us> (raw)
In-Reply-To: <CAM9w-_mK7jdj2AroqbLivdm7HuSvUb=UGQhQTL_f86tPo_oKKw@mail.gmail.com>
References: <CAM9w-_mK7jdj2AroqbLivdm7HuSvUb=UGQhQTL_f86tPo_oKKw@mail.gmail.com>

Aditya Toshniwal <aditya.toshniwal@enterprisedb.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





view thread (3+ messages)  latest in thread

Message-ID: <2816065.1594735153@sss.pgh.pa.us>
Permalink:  ../2816065.1594735153@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2816065.1594735153@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, aditya.toshniwal@enterprisedb.com
  Subject: Re: PG12 Server on crash on creating FTS dictionary
  In-Reply-To: <2816065.1594735153@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox