From: | Georgios <gkokolatos(at)protonmail(dot)com> |
---|---|
To: | Amit Langote <amitlangote09(at)gmail(dot)com> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com>, "Tsunakawa, Takayuki" <tsunakawa(dot)takay(at)fujitsu(dot)com> |
Subject: | Re: Allow batched insert during cross-partition updates |
Date: | 2021-03-10 12:30:08 |
Message-ID: | oC_VUFrx8fKs4rK8ECNkYw_ptKo7c2LCyBpofnRSDkah2SY8QVyyAlJpa_cEAT6dTkFQgT7u7LbsPuV6_zUITMtxOrtLh3h-b4iOCbvt_Eo=@protonmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, March 10, 2021 1:23 PM, Georgios <gkokolatos(at)protonmail(dot)com> wrote:
>
>
> Hi,
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Thursday, February 18, 2021 10:54 AM, Amit Langote amitlangote09(at)gmail(dot)com wrote:
>
> > On Thu, Feb 18, 2021 at 6:52 PM Amit Langote amitlangote09(at)gmail(dot)com wrote:
> >
> > > Based on the discussion at:
> > > https://www.postgresql.org/message-id/6929d485-2d2a-da46-3681-4a400a3d794f%40enterprisedb.com
> > > I'm posting the patch for $subject here in this new thread and I'll
> > > add it to the next CF per Tomas' advice.
> >
> > Done:https://commitfest.postgresql.org/32/2992/
>
> apparently I did not receive the review comment I sent via the commitfest app.
> Apologies for the chatter. Find the message-id here:
https://www.postgresql.org/message-id/161530518971.29967.9368488207318158252.pgcf%40coridan.postgresql.org
I continued looking a bit at the patch, yet I am either failing to see fix or I am
looking at the wrong thing. Please find attached a small repro of what my expectetions
were.
As you can see in the repro, I would expect the
UPDATE local_root_remote_partitions SET a = 2;
to move the tuples to remote_partition_2 on the same transaction.
However this is not the case, with or without the patch.
Is my expectation of this patch wrong?
Cheers,
//Georgios
>
> > Amit Langote
> > EDB: http://www.enterprisedb.com
Attachment | Content-Type | Size |
---|---|---|
repro.sql | application/sql | 2.1 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Smith | 2021-03-10 12:47:23 | Re: [HACKERS] logical decoding of two-phase transactions |
Previous Message | Georgios | 2021-03-10 12:23:30 | Re: Allow batched insert during cross-partition updates |