Re: transaction blocking inserts in postgresql 7.3

Поиск
Список
Период
Сортировка
От Dennis Gearon
Тема Re: transaction blocking inserts in postgresql 7.3
Дата
Msg-id 3E81C9BE.50303@cvc.net
обсуждение исходный текст
Ответ на Re: transaction blocking inserts in postgresql 7.3  ("Chris Hutchinson" <chris@hutchinsonsoftware.com>)
Список 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 по дате отправления:

Предыдущее
От: "Chris Smith"
Дата:
Сообщение: Please help with this error message
Следующее
От: greg@turnstep.com
Дата:
Сообщение: Re: How to prevent users from doing manually what my trigger should do for them?