Tomasz,
> Thanks a lot.
> I'm asking, because I use some queries which are easy to change into
> views. Most of their execution time takes planning, they use 5-10
> explicit table joins with not too many rows in these tables and returns
> few values.
You might want to investigate the new "prepared query" functionality in 7.3.1.
I haven't used it yet, so I can't help much.
--
-Josh Berkus
Aglio Database Solutions
San Francisco