|
223 | 223 | the transaction, and no write conflicts occur. For details on
|
224 | 224 | <literal>PREPARE</literal> transactions support in <productname>PostgreSQL</productname>,
|
225 | 225 | see the
|
226 |
| - <ulink url="https://postgrespro.ru/docs/postgresql/current/sql-prepare-transaction"> |
| 226 | + <ulink url="https://postgrespro.com/docs/postgresql/current/sql-prepare-transaction"> |
227 | 227 | PREPARE TRANSACTION</ulink> topic.
|
228 | 228 | </para>
|
229 | 229 | </listitem>
|
|
390 | 390 | <para>
|
391 | 391 | When the rest of transactions till the switch to the new generation is
|
392 | 392 | applied, the reconnected node is
|
393 |
| - promoted to the <filename>online</filename> state and included into |
| 393 | + promoted to the <literal>online</literal> state and included into |
394 | 394 | the replication scheme.
|
395 | 395 | </para>
|
396 | 396 | </listitem>
|
@@ -545,8 +545,8 @@ shared_preload_libraries = 'multimaster'
|
545 | 545 | <tip>
|
546 | 546 | <para>If the <varname>shared_preload_libraries</varname> variable is already
|
547 | 547 | defined in <filename>postgresql.auto.conf</filename>, you will need to modify
|
548 |
| - its value using the <ulink url="https://postgrespro.com/docs/postgresql/current/sql-altersystem"> ALTER SYSTEM </ulink>command. |
549 |
| - For details, see <ulink url="https://postgrespro.com/docs/postgresql/current/config-setting"> Setting Parameters </ulink>. |
| 548 | + its value using the <ulink url="https://postgrespro.com/docs/postgresql/current/sql-altersystem">ALTER SYSTEM</ulink> command. |
| 549 | + For details, see <ulink url="https://postgrespro.com/docs/postgresql/current/config-setting">Setting Parameters</ulink>. |
550 | 550 | Note that in a multi-master cluster, the <literal>ALTER SYSTEM</literal> command only affects the configuration of the node from which it was run.
|
551 | 551 | </para>
|
552 | 552 | </tip>
|
@@ -623,7 +623,7 @@ CREATE USER mtmuser WITH SUPERUSER PASSWORD 'mtmuserpassword';
|
623 | 623 | CREATE DATABASE mydb OWNER mtmuser;
|
624 | 624 | </programlisting>
|
625 | 625 | If you are using password-based authentication, you may want to
|
626 |
| - create a <ulink url="https://postgrespro.ru/docs/postgresql/current/libpq-pgpass">password file</ulink>. |
| 626 | + create a <ulink url="https://postgrespro.com/docs/postgresql/current/libpq-pgpass">password file</ulink>. |
627 | 627 | </para>
|
628 | 628 | <para>
|
629 | 629 | You can omit this step if you already have a database you are going
|
@@ -891,7 +891,7 @@ SELECT * FROM mtm.nodes();
|
891 | 891 | If a cluster node is disabled, any attempt to read or write data on
|
892 | 892 | this node raises an error by default. If you need to access the data
|
893 | 893 | on a disabled node, you can override this behavior at connection time by setting the
|
894 |
| - <ulink url="https://postgrespro.ru/docs/postgresql/13/runtime-config-logging#GUC-APPLICATION-NAME">application_name</ulink> |
| 894 | + <ulink url="https://postgrespro.com/docs/postgresql/current/runtime-config-logging#GUC-APPLICATION-NAME">application_name</ulink> |
895 | 895 | parameter to
|
896 | 896 | <literal>mtm_admin</literal>. In this case, you can run read and
|
897 | 897 | write queries on this node without <application>multimaster</application>
|
@@ -953,18 +953,18 @@ pg_basebackup -D <replaceable>datadir</replaceable> -h node1 -U mtmuser -c fast
|
953 | 953 | </para>
|
954 | 954 | </listitem>
|
955 | 955 | <listitem>
|
956 |
| - <para> |
957 |
| - Configure the new node to boot with <literal>recovery_target=immediate</literal> to prevent redo |
958 |
| - past the point where replication will begin. Add to <literal>postgresql.conf</literal> |
959 |
| - </para> |
960 |
| - <programlisting> |
| 956 | + <para> |
| 957 | + Configure the new node to boot with <literal>recovery_target=immediate</literal> to prevent redo |
| 958 | + past the point where replication will begin. Add to <literal>postgresql.conf</literal> |
| 959 | + </para> |
| 960 | + <programlisting> |
961 | 961 | restore_command = 'false'
|
962 | 962 | recovery_target = 'immediate'
|
963 | 963 | recovery_target_action = 'promote'
|
964 |
| - </programlisting> |
965 |
| - <para> |
966 |
| - And create <literal>recovery.signal</literal> file in the data directory. |
967 |
| - </para> |
| 964 | + </programlisting> |
| 965 | + <para> |
| 966 | + And create <literal>recovery.signal</literal> file in the data directory. |
| 967 | + </para> |
968 | 968 | </listitem>
|
969 | 969 | <listitem>
|
970 | 970 | <para>
|
@@ -1039,7 +1039,7 @@ SELECT mtm.drop_node(3);
|
1039 | 1039 | <step>
|
1040 | 1040 | <para>
|
1041 | 1041 | Remove <literal>multimaster</literal> from
|
1042 |
| - <ulink url="https://postgrespro.ru/docs/postgresql/current/runtime-config-client#GUC-SHARED-PRELOAD-LIBRARIES">shared_preload_libraries</ulink> |
| 1042 | + <ulink url="https://postgrespro.com/docs/postgresql/current/runtime-config-client#GUC-SHARED-PRELOAD-LIBRARIES">shared_preload_libraries</ulink> |
1043 | 1043 | and restart
|
1044 | 1044 | <productname>PostgreSQL</productname>.
|
1045 | 1045 | </para>
|
|
0 commit comments