Atsushi Ogawa <atsushi(dot)ogawa(at)gmail(dot)com> writes:
> I reproduced the problem by loading this dump to 8.1.0.
> I think that the problem is the same as this:
> http://archives.postgresql.org/pgsql-hackers/2005-11/msg01016.php
Good catch --- I agree that bug probably explains it.
regards, tom lane