Re: tsearch refactorings

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: tsearch refactorings
Дата
Msg-id 511.1189105152@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: tsearch refactorings  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
Ответы Re: tsearch refactorings  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
Re: tsearch refactorings  (Teodor Sigaev <teodor@sigaev.ru>)
Список pgsql-patches
"Heikki Linnakangas" <heikki@enterprisedb.com> writes:
> I started to write a patch for that, as I realized that we're
> transferring the strings in a tsvector/tsquery in server encoding.
> That's not good, right? A dump created with COPY ... BINARY wouldn't be
> portable across clusters with different encodings, for example.

Any portion of a binary value that is considered textual should be
converted to and from client encoding --- cf textsend/textrecv.
This should be pretty trivial to fix, just call a different support
routine.

BTW, Teodor, are you intending to review/apply Heikki's tsearch fixes,
or do you want someone else to do it?

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: HOT patch - version 15
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: HOT patch - version 15