Re: My question about the transaction

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: My question about the transaction
Дата
Msg-id CAKFQuwaH+W_AdUZJZj8GEaf-wR-fhVpRtS5SghjHdS+Wkps7DA@mail.gmail.com
обсуждение исходный текст
Ответ на My question about the transaction  ("Wen Yi" <wen-yi@qq.com>)
Список pgsql-general


On Thursday, October 19, 2023, Wen Yi <wen-yi@qq.com> wrote:
Hi community,
I am learning the transaction of the postgresql, and I try to test using these:

You failed to show how the two sessions interleave.  Also, your first session doesn’t use multi-statement transactions.

postgres=# insert into t values (1);
INSERT 0 1
postgres=# begin;
BEGIN

Session one can see this row and modify it just fine…

David J.
 

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

Предыдущее
От: Ron
Дата:
Сообщение: Re: Driver Postgresql HP-Unix
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: My question about the transaction