Re: Crash with empty dictionary

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Crash with empty dictionary
Дата
Msg-id 2336.1187760320@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Crash with empty dictionary  (Heikki Linnakangas <heikki@enterprisedb.com>)
Ответы Re: Crash with empty dictionary
Список pgsql-hackers
Heikki Linnakangas <heikki@enterprisedb.com> writes:
> I'm not sure if this is a sane way to set up a dictionary, but surely
> seg faulting is not the right thing to do. Should we throw an error on
> an empty dict file, or should we swallow it without crashing?

Offhand I'd say that an empty file is a legitimate corner case,
so we should just take it silently.
        regards, tom lane


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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: Is ALTER TEXT SEARCH CONFIGURATION PARSER = new_parser really sane?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: tsearch2 patch status report