Refactor XLogOpenRelation() and XLogReadBuffer() in preparation for relation

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: a213f1ee6c5a1bbe1f074ca201975e76ad2ed50c
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2008-06-12T09:12:31Z
Releases: 8.4.0
Refactor XLogOpenRelation() and XLogReadBuffer() in preparation for relation
forks. XLogOpenRelation() and the associated light-weight relation cache in
xlogutils.c is gone, and XLogReadBuffer() now takes a RelFileNode as argument,
instead of Relation.

For functions that still need a Relation struct during WAL replay, there's a
new function called CreateFakeRelcacheEntry() that returns a fake entry like
XLogOpenRelation() used to.

Files