Re: transaction blocking inserts in postgresql 7.3

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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Issue with Rowid's during Oracle to Postgres convertion:
Следующее
От: dev@archonet.com
Дата:
Сообщение: Re: Performance tuning in PostgreSQL