pgsql: Fix bug in freespace calculation in heap_multi_insert(). - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Fix bug in freespace calculation in heap_multi_insert().
Date
Msg-id E1SUcBP-0007tm-KC@gemulon.postgresql.org
Whole thread Raw
List 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:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Fix a whitespace issue with the man pages
Next
From: Tom Lane
Date:
Subject: pgsql: Improve error message for ALTER COLUMN TYPE coercion failure.