Backport addition of rs_old_rel to rewriteheap's state.

Andres Freund <andres@anarazel.de>

Commit: 152a56905658b7d9f8927f41f000abac718e1a39
Author: Andres Freund <andres@anarazel.de>
Date: 2017-12-15T02:20:48Z
Releases: 9.3.21
Backport addition of rs_old_rel to rewriteheap's state.

Originally part of b89e151054a05f0f6d356ca52e3b725dd0505e53, the
introduction of logical decoding, this is required to backport a
commit introducing error checks defending against recent bugs.

It's possible that extensions calls begin_heap_rewrite(), but it seems
highly unlikely. But if so, they'd break.

Author: Andres Freund
Discussion: https://postgr.es/m/20171215010029.3dxx56vjlymudvwo@alap3.anarazel.de

Files

Discussion