pgsql: Move page initialization from RelationAddExtraBlocks() to use, t

2019-02-03 Thread Andres Freund
Move page initialization from RelationAddExtraBlocks() to use, take 2. Previously we initialized pages when bulk extending in RelationAddExtraBlocks(). That has a major disadvantage: It ties RelationAddExtraBlocks() to heap, as other types of storage are likely to need different amounts of special

pgsql: Move page initialization from RelationAddExtraBlocks() to use.

2019-01-28 Thread Andres Freund
Move page initialization from RelationAddExtraBlocks() to use. Previously we initialized pages when bulk extending in RelationAddExtraBlocks(). That has a major disadvantage: It ties RelationAddExtraBlocks() to heap, as other types of storage are likely to need different amounts of special space,