sunpeng <blueva...@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

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to