Re: transaction blocking inserts in postgresql 7.3

Поиск
Список
Период
Сортировка
От Dennis Gearon
Тема Re: transaction blocking inserts in postgresql 7.3
Дата
Msg-id 3E820496.7030505@cvc.net
обсуждение исходный текст
Ответ на Re: transaction blocking inserts in postgresql 7.3  ("Chris Hutchinson" <chris@hutchinsonsoftware.com>)
Ответы Re: transaction blocking inserts in postgresql 7.3
Список pgsql-general
Actually,
    I need a clarification of this since it might affect my design. When you mean
blocked, is an error thrown, or does it just wait its turn?

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
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>


В списке pgsql-general по дате отправления:

Предыдущее
От: Jason Hihn
Дата:
Сообщение: Re: [pgsql-advocacy] Ack! Postgres.org
Следующее
От: "Chris Smith"
Дата:
Сообщение: Re: Please help with this error message