pgsql: Fix PageGetExactFreeSpace() so that it actually behaves sensibly

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix PageGetExactFreeSpace() so that it actually behaves sensibly
Date: 2008-02-10 20:39:08
Message-ID: 20080210203908.31EEE754108@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix PageGetExactFreeSpace() so that it actually behaves sensibly
if pd_lower > pd_upper, rather than merely claiming to. This would
only matter if the page header were corrupt, which shouldn't occur,
but ...

Modified Files:
--------------
pgsql/src/backend/storage/page:
bufpage.c (r1.77 -> r1.78)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/page/bufpage.c?r1=1.77&r2=1.78)

Browse pgsql-committers by date

  From Date Subject
Next Message User Fxjr 2008-02-11 04:16:34 npgsql - Npgsql2: [#1010216] Array Handling.
Previous Message User Wagnerch 2008-02-09 01:46:44 pghotbackup - pghotbackup: Added -h switch (dereference symlinks) to