On Mon, Mar 28, 2016 at 8:46 AM, Dilip Kumar <dilipbal...@gmail.com> wrote: > Found one problem with V15, so sending the new version. > In V15 I am taking prev_blkno as targetBlock instead it should be the last > block of the relation at that time. Attaching new patch.
BlockNumber targetBlock, - otherBlock; + otherBlock, + prev_blkno = RelationGetNumberOfBlocks(relation); Absolutely not. There is no way it's acceptable to introduce an unconditional call to RelationGetNumberOfBlocks() into every call to RelationGetBufferForTuple(). -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers