Re: integrated tsearch doesn't work with non utf8 database

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: integrated tsearch doesn't work with non utf8 database
Дата
Msg-id 12790.1189441497@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: integrated tsearch doesn't work with non utf8 database  (Teodor Sigaev <teodor@sigaev.ru>)
Список pgsql-hackers
Teodor Sigaev <teodor@sigaev.ru> writes:
>> I think Teodor's solution is wrong as it stands, because if the subquery
>> finds matches for mapcfg and maptokentype, but none of those rows
>> produce a non-null ts_lexize result, it will instead emit one row with a
>> null result, which is not what should happen.

> But concatenation with NULL will have result NULL, so "Lexized token" column 
> will have NULL as supposed.

Ah, you're right --- objection withdrawn.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: invalidly encoded strings
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: invalidly encoded strings