Add support for COPY TO in tablesync for partitioned tables. - Mailing list pgsql-hackers

From Ajin Cherian
Subject Add support for COPY TO in tablesync for partitioned tables.
Date
Msg-id CAFPTHDY=w+xmEof=yyjhbDzaLxhBkoBzKcksEofXcT6EcjMbtQ@mail.gmail.com
Whole thread Raw
Responses Re: Add support for COPY TO in tablesync for partitioned tables.
List pgsql-hackers
Hi all,

After patch [1] was committed, the COPY TO command is now supported
for partitioned tables. This change updates the tablesync logic to use
COPY TO for partitioned tables as well. This change will only be
invoked when the publication is configured with
publish_via_partition_root = true;
otherwise, partitioned tables will continue to be published using
their underlying partitions by default and publishing using partitions
already use COPY TO.

[1] - https://github.com/postgres/postgres/commit/4bea91f21f61d01bd40a4191a4a8c82d0959fffe

regards,
Ajin Cherian
Fujitsu Australia

Attachment

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Newly created replication slot may be invalidated by checkpoint
Next
From: Chao Li
Date:
Subject: Re: Make PQgetResult() not return NULL on out-of-memory error