Skip site navigation (1) Skip section navigation (2)

pgsql: Fix bug in freespace calculation in heap_multi_insert().

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix bug in freespace calculation in heap_multi_insert().
Date: 2012-05-16 11:14:19
Message-ID: E1SUcBP-0007tm-KC@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Fix bug in freespace calculation in heap_multi_insert().

If the amount of freespace on page was less than the amount reserved by
fillfactor, the calculation would underflow.

This fixes bug #6643 reported by Tomonari Katsumata.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6593c5b5dc39b179b1b7a3c947df2596af3e70c9

Modified Files
--------------
src/backend/access/heap/heapam.c |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

pgsql-committers by date

Next:From: Tom LaneDate: 2012-05-16 11:28:51
Subject: pgsql: Improve error message for ALTER COLUMN TYPE coercion failure.
Previous:From: Peter EisentrautDate: 2012-05-15 19:56:23
Subject: pgsql: Fix a whitespace issue with the man pages

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group