Mario Weilguni wrote:
> Interesting: remove any of the above where conditions solves the problem go away, e.g. removing "and
bei.id=10157309".
>
> Testet with 8.2.1 and 8.1.4, same effect on both systems. Because of the large number of tables involved it's
difficultto find a self contained patch, but if necessary I'll give it a try.
> I could give 8.2.3 a try, but I doubt this will help.
I think a similar problem was fixed after 8.2.3 was released, so you may
want to check out the REL8_2_STABLE branch.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support