toast by chunk-end (was Re: PG_PAGE_LAYOUT_VERSION 5 - time for change)

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема toast by chunk-end (was Re: PG_PAGE_LAYOUT_VERSION 5 - time for change)
Дата
Msg-id 20081117211021.GN4291@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: PG_PAGE_LAYOUT_VERSION 5 - time for change  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Ответы Re: toast by chunk-end (was Re: PG_PAGE_LAYOUT_VERSION 5 - time for change)  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Список pgsql-hackers
Zdenek Kotala wrote:
> Alvaro Herrera napsal(a):
>> Heikki Linnakangas wrote:
>>
>>> Hmm, you're right. I think it can be made to work by storing the
>>> *end*  offset of each chunk. To find the chunk containing offset X,
>>> search for  the first chunk with end_offset > X.
>>
>> FWIW I'm trying to do this.  So far I've managed to make the basic thing
>> work, and I'm about to have a look at the slice interface.

Okay, so this seems to work.  It's missing writing the sanity checks on
the returned data, and a look at the SGML docs to see if anything needs
updating.  I'm also going to recheck code comments that may need
updates.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

Вложения

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

Предыдущее
От: Aidan Van Dyk
Дата:
Сообщение: Re: Block-level CRC checks
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Compiling on HP-UX 10.20 fails