> When the query plan takes a wrong path, is it possible that it is because> statistics have not been run or updated?
Yes. If you are not using autovacuum, you need to ANALYZE regularly,or bad things will happen to you.
...Robert