Search Postgresql Archives

Re: My question about the transaction

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Thursday, October 19, 2023, Wen Yi <wen-yi@xxxxxx> 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.
 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux