Re: where are the getting buf data from disk really done?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: where are the getting buf data from disk really done?
Дата
Msg-id 15642.1271728765@sss.pgh.pa.us
обсуждение исходный текст
Ответ на where are the getting buf data from disk really done?  (sunpeng <bluevaley@gmail.com>)
Список pgsql-general
sunpeng <bluevaley@gmail.com> writes:
> I noticed at the function StartBufferIO() in bufmgr.c, there is no really
> getting buffer data from disk, only set InProgressBuf = buf; and return
> true;
> i wondered where is the getting buf data from disk really done?

The caller.  StartBufferIO is only concerned with interlocking multiple
backends that might try to read (or write) the same buffer.

            regards, tom lane

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

Предыдущее
От: sunpeng
Дата:
Сообщение: where are the getting buf data from disk really done?
Следующее
От: Greg Smith
Дата:
Сообщение: Re: where are the getting buf data from disk really done?