Re: PG12 Server on crash on creating FTS dictionary

Поиск
Список
Период
Сортировка
От Aditya Toshniwal
Тема Re: PG12 Server on crash on creating FTS dictionary
Дата
Msg-id CAM9w-_=LJdtR263FdMkLoN5GAyDhNOsBNsY0MEgCwvSPCbhE6w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PG12 Server on crash on creating FTS dictionary  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin


On Tue, Jul 14, 2020 at 7:29 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
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.
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"

В списке pgsql-admin по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: PG12 Server on crash on creating FTS dictionary
Следующее
От: Fabio
Дата:
Сообщение: Cross-site cookies warnings