Re: Phrase search distance syntax

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Phrase search distance syntax
Дата
Msg-id 13118.1474640596@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Phrase search distance syntax  (Teodor Sigaev <teodor@sigaev.ru>)
Список pgsql-hackers
Teodor Sigaev <teodor@sigaev.ru> writes:
>> Why does the phrase distance operator assume <1> means adjacent words,
>> and not <0>.  (FYI, <-> is the same as <1>.)

> Because
> 1 it is a result of subtruction of word's positions
> 2 <0> could be used as special case like a word with two infinitives:

This is actually documented, in 12.1.2:
A special case that's sometimes useful is that <0> can be used torequire that two patterns match the same word.
        regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Re: [HACKERS] Re: [HACKERS] Re: [HACKERS] Re: [HACKERS] Re: [HACKERS] Re: [HACKERS] Windows service is not starting so there’s message in log: FATAL: "could not create shared memory segment “Global/PostgreSQL.851401618”: Permission denied”
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] Remove redundant if clause in standbydesc.c