> > I'm not very familar with the output of the explain command but can you
> > tell me why I get two different query plans?
>
> Judging from the suspiciously round numbers in the cost estimates,
> you've never done a VACUUM ANALYZE on any of these tables. Try that and
> then see what plans you get...
Oops.. You were right!
Thank you anyway.
Jörg