Re: Supporting MERGE on updatable views

From: Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Supporting MERGE on updatable views
Date: 2023-07-02 10:29:29
Message-ID: CAEZATCUZoYO7hXQKAdX6bQxdKBORY-p+3_EsUnqs4U7BrR_eqQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, 19 Mar 2023 at 09:11, Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com> wrote:
>
> And another rebase.
>

Rebased version attached.

Aside from a little minor tidying up, I have renamed the new field on
the Query to "mergeTargetRelation", which is a little more consistent
with the naming of existing fields, and with the "mergeSourceRelation"
field that the "WHEN NOT MATCHED BY SOURCE" patch adds.

Regards,
Dean

Attachment Content-Type Size
support-merge-into-view-v9.patch text/x-patch 120.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message jian he 2023-07-02 11:56:51 /src/include/access/htup_details.h some comments kind of confusing....
Previous Message Andres Freund 2023-07-02 06:09:49 Re: Fdw batch insert error out when set batch_size > 65535