Re: Faster StrNCpy

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Faster StrNCpy
Дата
Msg-id 16166.1159541962@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Faster StrNCpy  (Markus Schaber <schabi@logix-tt.com>)
Список pgsql-hackers
Markus Schaber <schabi@logix-tt.com> writes:
> There's another disadvantage of always copying 64 bytes:
> It may be that the 64-byte range crosses a page boundary. Now guess what
> happens when this next page is not mapped -> segfault.

Irrelevant, because in all interesting cases the Name field is part of a
larger record that would stretch into that other page anyway.
        regards, tom lane


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Block B-Tree concept
Следующее
От: Jan de Visser
Дата:
Сообщение: Re: Block B-Tree concept