I just experienced the same problem [1] with 8.0.0beta2.
[1] http://archives.postgresql.org/pgsql-bugs/2004-08/msg00086.php
-- Georgi Chorbadzhiyskihttp://georgi.unixsol.org/