From: | Surafel Temesgen <surafel3000(at)gmail(dot)com> |
---|---|
To: | Simon Riggs <simon(dot)riggs(at)enterprisedb(dot)com> |
Cc: | Ryan Lambert <ryan(at)rustprooflabs(dot)com>, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, Rémi Lapeyre <remi(dot)lapeyre(at)lenstra(dot)fr>, Eli Marmor <eli(at)netmask(dot)it>, David Steele <david(at)pgmasters(dot)net>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Georgios <gkokolatos(at)protonmail(dot)com>, Vik Fearing <vik(dot)fearing(at)enterprisedb(dot)com> |
Subject: | Re: WIP: System Versioned Temporal Table |
Date: | 2021-01-15 16:46:16 |
Message-ID: | CALAY4q_fujD4sFDg5gao64gyQAQVi4DCbb=Focx7y+UyLFETXQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, Jan 15, 2021 at 12:27 AM Simon Riggs <simon(dot)riggs(at)enterprisedb(dot)com>
wrote:
>
> Yes, I think it can. The current situation is that the Start or End is
> set to the Transaction Start Timestamp.
> So if t2 starts before t1, then if t1 creates a row and t2 deletes it
> then we will have start=t1 end=t2, but t2<t1
> Your tests don't show that because it must happen concurrently.
> We need to add an isolation test to show this, or to prove it doesn't
> happen.
>
>
Does MVCC allow that? i am not expert on MVCC but i don't
think t2 can see the row create by translation started before
itself
regards
Surafel
From | Date | Subject | |
---|---|---|---|
Next Message | Simon Riggs | 2021-01-15 16:50:24 | Re: WIP: System Versioned Temporal Table |
Previous Message | Zhihong Yu | 2021-01-15 16:40:46 | Re: Transactions involving multiple postgres foreign servers, take 2 |