Fix broken logic in logical_heap_rewrite_flush_mappings().

Tom Lane <tgl@sss.pgh.pa.us>

Commit: c6a4ace5bf839b2480e8bb4c36bd3ec850c55c65
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2014-04-23T02:33:35Z
Releases: 9.4.0
Fix broken logic in logical_heap_rewrite_flush_mappings().

It's blatantly obvious that commit 4d0d607a454ee832574afd52a3c515099cc85eb3
wasn't tested.  The leak's real enough, though.

Files

PathChange+/−
src/backend/access/heap/rewriteheap.c modified +5 −4