Re: tsearch (or related) question

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: tsearch (or related) question
Дата
Msg-id 7700.1295025261@sss.pgh.pa.us
обсуждение исходный текст
Ответ на tsearch (or related) question  (Satoshi Nagayasu <satoshi.nagayasu@gmail.com>)
Список pgsql-general
Satoshi Nagayasu <satoshi.nagayasu@gmail.com> writes:
> I want to hit a row when I use 'a&b' or 'b&c' in a tsquery,
> but not 'a&c'.

Wouldn't this do it?

    tsvectorcol @@ '(a&b | b&c) & !(a&c)'

            regards, tom lane

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

Предыдущее
От: Vick Khera
Дата:
Сообщение: Re: Question about concurrent synchronous and asynchronous commits
Следующее
От: Alban Hertroys
Дата:
Сообщение: Re: Record with a field consisting of table rows