Re: [HACKERS] Savepoints... - Mailing list pgsql-hackers

From Vadim Mikheev
Subject Re: [HACKERS] Savepoints...
Date
Msg-id 3768724A.7063D4B1@krs.ru
Whole thread Raw
In response to RE: [HACKERS] Savepoints...  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Responses RE: [HACKERS] Savepoints...
List pgsql-hackers
Hiroshi Inoue wrote:
> 
> > - lmgr will remember command id when lock was acquired;
> 
> Does this mean that many writing commands in a transaction
> require many command id-s to remember ?

Did you mean such cases:

begin;
...
update t set...;
...
update t set...;
...
end;

?

We'll remember command id for the first "update t" only
(i.e. for the first ROW EXCLUSIVE mode lock over table t).

Vadim


pgsql-hackers by date:

Previous
From: "Hiroshi Inoue"
Date:
Subject: RE: [HACKERS] Savepoints...
Next
From: "Hiroshi Inoue"
Date:
Subject: RE: [HACKERS] Savepoints...