Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commiteb7828f

Browse files
author
Amit Kapila
committed
Doc: Add "Attach Partition" limitation during logical replication.
ATTACHing a table into a partition tree whose root is published using apublication with publish_via_partition_root set to true does not result inthe table's existing contents being replicated. This happens becausesubscriber doesn't consider replicating the newly attached partition asthe root table is already in a 'ready' state.This behavior was introduced in PG13 (83fd453) where we allowed topublish partition changes via ancestors.We can consider fixing this limitation in the future.Author: Amit LangoteReviewed-by: Hou Zhijie, Amit KapilaBackpatch-through: 13Discussion:https://postgr.es/m/OS0PR01MB5716E97F00732B52DC2BBC2594989@OS0PR01MB5716.jpnprd01.prod.outlook.com
1 parent9270778 commiteb7828f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎doc/src/sgml/ref/create_publication.sgml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,13 @@ CREATE PUBLICATION <replaceable class="parameter">name</replaceable>
232232
<command>UPDATE</command>, or it may not be published at all.
233233
</para>
234234

235+
<para>
236+
<command>ATTACH</command>ing a table into a partition tree whose root is
237+
published using a publication with <literal>publish_via_partition_root</literal>
238+
set to <literal>true</literal> does not result in the table's existing contents
239+
being replicated.
240+
</para>
241+
235242
<para>
236243
<command>COPY ... FROM</command> commands are published
237244
as <command>INSERT</command> operations.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp