=?iso-8859-1?q?J=F6rg=20Schulz?= <jschulz@sgbs.de> writes:
> 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...
regards, tom lane