WIP: Move xid horizon computation for page level index vacuum to primary.
authorAndres Freund <[email protected]>
Wed, 19 Dec 2018 20:32:40 +0000 (12:32 -0800)
committerAndres Freund <[email protected]>
Wed, 6 Mar 2019 06:59:32 +0000 (22:59 -0800)
commit34291bcf6e62611ac3a09f531a93f6d2a83fa02d
tree3a9e6f772d40b8f08878454dc94aa72d947060b5
parent61b98253da4c152a4039738036453c5f64fefd24
WIP: Move xid horizon computation for page level index vacuum to primary.

During recovery we do not know which table AM to go to to compute the
xid horizon. To allow for pluggable storage this therefore moves the
computation to the primary.

Author:
Reviewed-By:
Discussion: https://postgr.es/m/
Backpatch:
12 files changed:
src/backend/access/hash/hash_xlog.c
src/backend/access/hash/hashinsert.c
src/backend/access/heap/heapam.c
src/backend/access/index/genam.c
src/backend/access/nbtree/nbtpage.c
src/backend/access/nbtree/nbtxlog.c
src/backend/access/rmgrdesc/hashdesc.c
src/backend/access/rmgrdesc/nbtdesc.c
src/include/access/genam.h
src/include/access/hash_xlog.h
src/include/access/heapam.h
src/include/access/nbtxlog.h