Re: transaction blocking inserts in postgresql 7.3

From: Dennis Gearon <gearond(at)cvc(dot)net>
To: Chris Hutchinson <chris(at)hutchinsonsoftware(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: transaction blocking inserts in postgresql 7.3
Date: 2003-03-26 15:39:42
Message-ID: 3E81C9BE.50303@cvc.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

The light now glows above my head. OTOH, i thought that with a MVCC transaction
model, the scenario you describe should not be possible.

Chris Hutchinson wrote:
> Dennis,
>
>
>>I'm really curious how you got these two transactions to occur
>>simultaneously, i.e. how does one DO the test that you DID?
>
>
> Open two terminal sessions, run a copy of psql in both. In one run the 'begin; insert...', in the other run 'insert'. The second is blocked until a commit (or rollback) is entered in the first.
>
> Regards,
> Chris
>
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message greg 2003-03-26 15:44:37 Re: How to prevent users from doing manually what my trigger should do for them?
Previous Message Chris Smith 2003-03-26 15:18:06 Please help with this error message