Mikko Vierula <mikko.vierula@elektroniikkatyo.fi> writes:
> I'm running PostgreSQL 7.2b4. I got similar results with 7.1.2. And I
> know that on both cases the transaction should fail but the error
> message is wrong.
What would you have it do differently? Accept the insert and then give
some random error message at the commit? I'm sorry, but I don't see
a problem here.
regards, tom lane