Convert Assert checking for empty page into a regular test and elog.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 2d0475e4803ec61bf79e73ef0b4e5753b83f0218
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-01-06T00:15:50Z
Releases: 8.2.0
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.

Files

PathChange+/−
src/backend/access/heap/hio.c modified +10 −3