Re: HOT - whats next ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: HOT - whats next ?
Дата
Msg-id 19429.1173112797@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: HOT - whats next ?  ("Simon Riggs" <simon@2ndquadrant.com>)
Ответы Re: HOT - whats next ?  ("Simon Riggs" <simon@2ndquadrant.com>)
Список pgsql-hackers
"Simon Riggs" <simon@2ndquadrant.com> writes:
> The first function reads a single block from a file, returning the
> complete page as a bytea of length BLCKSZ. 
>  CREATE OR REPLACE FUNCTION bufpage_get_raw_page(text, int4)
>  RETURNS bytea ...

Directly from the file?  What if the version in buffers is completely
different?  OTOH, if you try to pull from shared buffers then you won't
be able to deal with corrupted pages, so I think you are claiming that
the function can serve purposes that it can't really fulfill
simultaneously.

As for putting it in core, we already had that discussion w.r.t. the
adminpack functions, and you have not provided any argument adequate
to override the concerns expressed about those.
        regards, tom lane


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

Предыдущее
От: "Simon Riggs"
Дата:
Сообщение: Re: Latest plans for Utilities with HOT
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Bug: Buffer cache is not scan resistant