Re: [HACKERS] Pluggable storage

Поиск
Список
Период
Сортировка
От Tomas Vondra
Тема Re: [HACKERS] Pluggable storage
Дата
Msg-id 5863132d-a436-321b-6ef9-7c5173bd8ef3@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Pluggable storage  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: [HACKERS] Pluggable storage  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Hi,

On 6/21/17 9:47 PM, Robert Haas wrote:
...>
> like int8 or numeric, it won't work at all.  Even for other things,
> it's going to cause problems because the bit patterns won't be what
> the code is expecting; e.g. bitmap scans care about the structure of
> the TID, not just how many bits it is.  (Due credit: Somebody, maybe
> Alvaro, pointed out this problem before, at PGCon.) 

Can you elaborate a bit more about this TID bit pattern issues? I do 
remember that not all TIDs are valid due to safeguards on individual 
fields, like for example
    Assert(iptr->ip_posid < (1 << MaxHeapTuplesPerPageBits))

But perhaps there are some other issues?

regards

-- 
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: [HACKERS] Dynamic instrumentation of lwlock wait times (lwlock flamegraphs)
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [HACKERS] Fix a typo in README.dependencies