From: | jian he <jian(dot)universality(at)gmail(dot)com> |
---|---|
To: | Paul Jungwirth <pj(at)illuminatedcomputing(dot)com> |
Cc: | Peter Eisentraut <peter(at)eisentraut(dot)org>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: SQL:2011 application time |
Date: | 2024-03-21 08:25:15 |
Message-ID: | CACJufxH7UJ0YGcMb8qLZCBxJS05CEmb3yPtrq3AQj0LTwTT=Xw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
with foreign key "no action",
in a transaction, we can first insert foreign key data, then primary key data.
also the update/delete can fail at the end of transaction.
based on [1] explanation about the difference between "no action" and
"restrict".
I only refactor the v31-0002-Support-multiranges-in-temporal-FKs.patch test.
[1 https://stackoverflow.com/questions/14921668/difference-between-restrict-and-no-action
Attachment | Content-Type | Size |
---|---|---|
v31-0001-refactor-temporal-FKs-with-multiranges-regressio.no-cfbot | application/octet-stream | 22.5 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2024-03-21 08:44:01 | Re: make dist using git archive |
Previous Message | Kyotaro Horiguchi | 2024-03-21 08:16:32 | Re: Inconsistent printf placeholders |