Re: Compressed TOAST Slicing

Поиск
Список
Период
Сортировка
От Andrey Borodin
Тема Re: Compressed TOAST Slicing
Дата
Msg-id 72B3A29C-E9B3-4CE1-B489-0568E1542929@yandex-team.ru
обсуждение исходный текст
Ответ на Re: Compressed TOAST Slicing  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers

> 9 апр. 2019 г., в 22:20, Andres Freund <andres@anarazel.de> написал(а):
>
> Just use memmove? It's usually as fast these days.
No, unfortunately, it is fixing things incompatible way.
In pglz side-effects of overlapping addresses are necessary, not the way memmove avoids it.

I.e. bytes
01234
  ^ copy here three bytes
memmove will give
01012
but we want
01010
    ^ this 0 is taken from result of overwrite by first byte move.

Best regards, Andrey Borodin.


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Compressed TOAST Slicing
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Compressed TOAST Slicing