You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/src/sgml/multimaster.sgml
+37-27Lines changed: 37 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -82,13 +82,12 @@
82
82
</listitem>
83
83
<listitem>
84
84
<para>
85
-
The replicated tables must have primary keys or replica identity. Otherwise,
86
-
<filename>multimaster</filename> will not allow replication
87
-
because of the logical replication restrictions. Unlogged tables are not replicated, as in the standard <productname>PostgreSQL</productname>.
85
+
The replicated tables must have primary keys or replica identity because of logical replication restrictions.
86
+
Although tables without primary keys can be replicated, <filename>multimaster</filename> does not allow
87
+
<literal>UPDATE</literal> and <literal>DELETE</literal> operations on such tables. For details, see
88
+
<xref linkend="ignore-tables-without-pk">.
89
+
Unlogged tables are not replicated, as in the standard <productname>PostgreSQL</productname>.
88
90
</para>
89
-
<note><para>You can enable replication
90
-
of tables without primary keys by setting the <varname>multimaster.ignore_tables_without_pk</varname> variable to <literal>false</literal>. However, take into account that
91
-
<filename>multimaster</filename> does not allow update operations on such tables.</para></note>
92
91
</listitem>
93
92
<listitem>
94
93
<para>
@@ -425,7 +424,7 @@ max_worker_processes = 250
425
424
multimaster.max_nodes = 3 # cluster size
426
425
multimaster.node_id = 1 # the 1-based index of this node
The <filename>multimaster</filename> extension can <link linkend="multimaster-failure-detection-and-recovery">automatically restore</link> a failed node if the WAL is available for the time when the node was disconnected from the cluster. However, if the data updates on the alive nodes exceed the allowed WAL size specified in the <literal>multimaster.max_recovery_lag</literal> variable. In this case, you can manually restore the failed node.
753
+
The <filename>multimaster</filename> extension can <link linkend="multimaster-failure-detection-and-recovery">automatically restore</link> a failed node if the WAL is available for the time when the node was disconnected from the cluster. However, if the data updates on the alive nodes exceed the allowed WAL size specified in the <literal>multimaster.max_recovery_lag</literal> variable, automatic recovery is impossible. In this case, you can manually restore the failed node.
755
754
</para>
756
755
<para>
757
756
Suppose <literal>node2</literal> got disconnected from your three-node cluster and needs to be manually restored. The typical workflow is as follows:
0 commit comments