Re: transaction blocking inserts in postgresql 7.3 - Mailing list pgsql-general

From Dennis Gearon
Subject Re: transaction blocking inserts in postgresql 7.3
Date
Msg-id 3E81C9BE.50303@cvc.net
Whole thread Raw
In response to Re: transaction blocking inserts in postgresql 7.3  ("Chris Hutchinson" <chris@hutchinsonsoftware.com>)
List 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'.
Thesecond is blocked until a commit (or rollback) is entered in the first. 
>
> Regards,
> Chris
>
>
>


pgsql-general by date:

Previous
From: "Chris Smith"
Date:
Subject: Please help with this error message
Next
From: greg@turnstep.com
Date:
Subject: Re: How to prevent users from doing manually what my trigger should do for them?