Re: making update/delete of inheritance trees scale better

From: Amit Langote <amitlangote09(at)gmail(dot)com>
To: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: making update/delete of inheritance trees scale better
Date: 2021-01-26 11:54:09
Message-ID: CA+HiwqG=QQkMjgLcXnf+rdAxuPwhSmQVVJHn04XPzxE2V+-syA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Nov 13, 2020 at 6:52 PM Amit Langote <amitlangote09(at)gmail(dot)com> wrote:
> On Wed, Nov 11, 2020 at 9:11 PM Heikki Linnakangas <hlinnaka(at)iki(dot)fi> wrote:
> > On 29/10/2020 15:03, Amit Langote wrote:
> > > Rebased over the recent executor result relation related commits.
> >
> > ModifyTablePath didn't get the memo that a ModifyTable can only have one
> > subpath after these patches. Attached patch, on top of your v5 patches,
> > cleans that up.
>
> Ah, thought I'd taken care of that, thanks. Attached v6.

This got slightly broken due to the recent batch insert related
changes, so here is the rebased version. I also made a few cosmetic
changes.

--
Amit Langote
EDB: http://www.enterprisedb.com

Attachment Content-Type Size
v7-0001-Overhaul-how-updates-compute-new-tuple.patch application/octet-stream 76.7 KB
v7-0002-Revise-how-inherited-update-delete-are-handled.patch application/octet-stream 203.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2021-01-26 11:58:59 Re: Error on failed COMMIT
Previous Message Joel Jacobson 2021-01-26 11:50:52 Re: [HACKERS] GSoC 2017: Foreign Key Arrays