]> granicus.if.org Git - postgresql/commit
Backport addition of rs_old_rel to rewriteheap's state.
authorAndres Freund <andres@anarazel.de>
Fri, 15 Dec 2017 00:50:31 +0000 (16:50 -0800)
committerAndres Freund <andres@anarazel.de>
Fri, 15 Dec 2017 02:20:48 +0000 (18:20 -0800)
commit152a56905658b7d9f8927f41f000abac718e1a39
tree0eeea1aec39a2414f3bac770dcfdaf5df0c7479b
parentd5f767c136d2531ad58053498c7236706779f692
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
src/backend/access/heap/rewriteheap.c
src/backend/commands/cluster.c
src/include/access/rewriteheap.h