Re: bytea encode performance issues

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: bytea encode performance issues
Дата
Msg-id 12837.1218031839@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: bytea encode performance issues  (Sim Zacks <sim@compulab.co.il>)
Ответы Re: bytea encode performance issues  (Sim Zacks <sim@compulab.co.il>)
Список pgsql-general
Sim Zacks <sim@compulab.co.il> writes:
> After the alter table, then I have to update each row with an
> update dbmail_messageblks set messageblk=messageblk;
> so that it uses the new storage.

I wouldn't actually bet on that changing anything at all ...
I'd try something like messageblk = messageblk || '' to make
completely sure the value gets detoasted.

            regards, tom lane

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

Предыдущее
От: "Pavel Stehule"
Дата:
Сообщение: Re: Invocation overhead for procedural languages
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: bytea encode performance issues