Alban Hertroys <haramrae@gmail.com> writes:
>> Ranjeet Dhumal wrote:
> records , am using 9.0.1 version of postgres.
> This is quite possibly your problem: You're 9 bugfix releases behind
> on a .0 release. You should be at 9.0.10 at least.
Yes. I seem to recall fixing a bug with exactly this symptom.
Please update first, then if the problem is still there you can work
on producing a self-contained test case.
regards, tom lane