Re: Add support for COPY TO in tablesync for partitioned tables.

From: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
To: Noah Misch <noah(at)leadboat(dot)com>
Cc: Ajin Cherian <itsajin(at)gmail(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Add support for COPY TO in tablesync for partitioned tables.
Date: 2026-09-08 18:15:17
Message-ID: CAD21AoBfrxod9fUxoOSKkzmLnm_JnqdM=xg=Jgi7H6UzjKhN0A@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Sep 8, 2026 at 10:47 AM Noah Misch <noah(at)leadboat(dot)com> wrote:
>
> On Tue, Sep 08, 2026 at 10:40:09AM -0700, Masahiko Sawada wrote:
> > On Fri, Sep 4, 2026 at 9:00 PM Noah Misch <noah(at)leadboat(dot)com> wrote:
> > >
> > > On Thu, Nov 20, 2025 at 03:09:36PM -0800, Masahiko Sawada wrote:
> > > > Pushed.
> > >
> > > This became commit 266543a. It doesn't account for the publisher version, so
> > > replicating v18->v19 w/ publish_via_partition_root fails at tablesync w/
> > > "ERROR: cannot copy from partitioned table".
> >
> > Good catch. I've attached the patch to fix it.
>
> Looks reasonable. Thanks.

Thank you for reviewing the patch. Pushed.

Regards,

--
Masahiko Sawada
Amazon Web Services: https://aws.amazon.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2026-09-08 18:23:59 Re: REPACK (CONCURRENTLY) rewrites tables marked with user_catalog_table
Previous Message Robert Haas 2026-09-08 17:59:05 Re: Revert RI fast-path batching from REL_19_STABLE