I though that following message provided evidence for bug:
http://archives.postgresql.org/pgsql-bugs/2007-05/msg00135.php
--
Anton Dedov
From: Tom Lane [t...@sss.pgh.pa.us]
Sent: Tuesday, June 07, 2011 7:33 PM
To: Anton Dedov
Cc: pgsql-bugs
expensive task.
I've checked 9.0 and it seems that undesirable behavior is still there.
Is there any plans to fix it in future releases? May be there are some
settings/workarounds that could help in this situation without patching
PostgreSQL server?
--
Anton Dedov
Senior Software Deve