Re: A couple of tsearch loose ends

Поиск
Список
Период
Сортировка
От Stefan Kaltenbrunner
Тема Re: A couple of tsearch loose ends
Дата
Msg-id 46CC4982.4060804@kaltenbrunner.cc
обсуждение исходный текст
Ответ на Re: A couple of tsearch loose ends  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Dimitri Fontaine <dfontaine@hi-media.com> writes:
>> I don't understand why this ALTER variation is so different from existing=20
>> ones, but maybe the following syntax can't work:
>>   ALTER TEXT SEARCH DICTIONARY swedish ALTER STOPWORDS SET swedish;
> 
> You'd have to repeat the whole command for each option to be changed,
> which given the amount of typing involved seems a bit unpleasant.
> 
> There are also historical differences between what is allowed by
> the SET var = value syntax and what is allowed in the
> parenthesized-option-list syntax.  Introducing an inconsistency between
> ALTER and CREATE doesn't seem appetizing.
> 
> (BTW, does anyone want to teach psql's tab-completion about the new
> text search statements?)

I will take a stab at doing that ...


Stefan


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Crash with empty dictionary
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Simplify the syntax of CREATE/ALTER TEXT SEARCH DICTIONARY by