Fix BRIN xlog replay

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 402822246866e1094d35a617775a65b4be93d322
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2015-06-26T21:13:05Z
Releases: 9.5.0
Fix BRIN xlog replay

There was a confusion about which block number to use when storing an
item's pointer in the revmap -- the revmap page's blkno was being used,
not the data page's blkno.

Spotted-by: Jeff Janes

Files

PathChange+/−
src/backend/access/brin/brin_xlog.c modified +5 −2