pgsql: Convert Assert checking for empty page into a regular test and

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Convert Assert checking for empty page into a regular test and
Date: 2006-01-06 00:15:50
Message-ID: 20060106001550.6B8019DC804@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Convert Assert checking for empty page into a regular test and elog.
The consequences of overwriting a non-empty page are bad enough that
we should not omit this test in production builds.

Modified Files:
--------------
pgsql/src/backend/access/heap:
hio.c (r1.59 -> r1.60)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/heap/hio.c.diff?r1=1.59&r2=1.60)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2006-01-06 00:15:58 pgsql: Convert Assert checking for empty page into a regular test and
Previous Message Tom Lane 2006-01-06 00:04:33 pgsql: Fix ReadBuffer() to correctly handle the case where it's trying