pgsql: Fix broken logic in logical_heap_rewrite_flush_mappings().

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix broken logic in logical_heap_rewrite_flush_mappings().
Date: 2014-04-23 02:33:41
Message-ID: E1Wcn0H-0000X9-HF@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c6a4ace5bf839b2480e8bb4c36bd3ec850c55c65

Modified Files
--------------
src/backend/access/heap/rewriteheap.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-04-23 03:22:22 pgsql: Fix documentation of FmgrInfo.fn_nargs.
Previous Message Bruce Momjian 2014-04-23 02:22:24 Re: pgsql: release memory used while flushing logical mappings