Content-Length: 274880 | pFad | http://github.com/postgrespro/postgres_cluster/commit/0933fcee9851eb2afcd41db1ee4425153f4cbdd3

26 doc: Document that subscriptions to same server might hang · postgrespro/postgres_cluster@0933fce · GitHub
Skip to content

Commit 0933fce

Browse files
committed
doc: Document that subscriptions to same server might hang
1 parent 493490c commit 0933fce

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

doc/src/sgml/ref/create_subscription.sgml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,19 @@ CREATE SUBSCRIPTION <replaceable class="PARAMETER">subscription_name</replaceabl
226226
how to configure access control between the subscription and the
227227
publication instance.
228228
</para>
229+
230+
<para>
231+
Creating a subscription that connects to the same database cluster (for
232+
example, to replicate between databases in the same cluster or to replicate
233+
within the same database) will only succeed if the replication slot is not
234+
created as part of the same command. Otherwise, the <command>CREATE
235+
SUBSCRIPTION</command> call will hang. To make this work, create the
236+
replication slot separately (using the
237+
function <function>pg_create_logical_replication_slot</function> with the
238+
plugin name <literal>pgoutput</literal>) and create the subscription using
239+
the parameter <literal>create_slot = false</literal>. This is an
240+
implementation restriction that might be lifted in a future release.
241+
</para>
229242
</refsect1>
230243

231244
<refsect1>

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/0933fcee9851eb2afcd41db1ee4425153f4cbdd3

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy