dima(dot)kagan(at)gmail(dot)com writes:
> I've encountered a very strange problem with Postgresql 7.3.
7.3.what?
FWIW, I cannot replicate your problem using 7.3.20. It doesn't sound
like any bug I can remember, but certainly there have been a lot of
bugs fixed over the past five years.
regards, tom lane