|
1 | | -## PostgreSQL 17 preview - 支持逻辑复制槽failover for流复制. `pg_create_logical_replication_slot(... failover = true|false ...)` |
| 1 | +## PostgreSQL 17 preview - 支持逻辑复制槽failover to 流复制standby节点. `pg_create_logical_replication_slot(... failover = true|false ...)` |
2 | 2 | |
3 | 3 | ### 作者 |
4 | 4 | digoal |
@@ -104,6 +104,39 @@ Author: Hou Zhijie, Shveta Malik |
104 | 104 | Reviewed-by: Peter Smith, Bertrand Drouvot, Dilip Kumar, Masahiko Sawada, Nisha Moond, Kuroda, Hayato, Amit Kapila |
105 | 105 | Discussion: https://postgr.es/m/[email protected] |
106 | 106 | ``` |
| 107 | + |
| 108 | +https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=776621a5e4796fa214b6b29a7ca134f6c138572a |
| 109 | +``` |
| 110 | +Add a failover option to subscriptions. |
| 111 | +
|
| 112 | +author Amit Kapila <[email protected]> |
| 113 | +Tue, 30 Jan 2024 11:01:09 +0000 (16:31 +0530) |
| 114 | +committer Amit Kapila <[email protected]> |
| 115 | +Tue, 30 Jan 2024 11:19:28 +0000 (16:49 +0530) |
| 116 | +commit 776621a5e4796fa214b6b29a7ca134f6c138572a |
| 117 | +tree ba58dcb69a247bc073eca865879e730c5790ce3a tree |
| 118 | +parent b527ebc1d37aa82b771dc9c76111bed1bce35a05 commit | diff |
| 119 | +Add a failover option to subscriptions. |
| 120 | +
|
| 121 | +This commit introduces a new subscription option named 'failover', which |
| 122 | +provides users with the ability to set the failover property of the |
| 123 | +replication slot on the publisher when creating or altering a |
| 124 | +subscription. |
| 125 | +
|
| 126 | +This uses the replication commands introduced by commit 7329240437 to |
| 127 | +enable the failover option for a logical replication slot. |
| 128 | +
|
| 129 | +If the failover option is set to true, the associated replication slots |
| 130 | +(i.e. the main slot and the table sync slots) in the upstream database are |
| 131 | +enabled to be synchronized to the standbys. Note that the capability to |
| 132 | +sync the replication slots will be added in subsequent commits. |
| 133 | +
|
| 134 | +Thanks to Masahiko Sawada for the design inputs. |
| 135 | +
|
| 136 | +Author: Shveta Malik, Hou Zhijie, Ajin Cherian |
| 137 | +Reviewed-by: Peter Smith, Bertrand Drouvot, Dilip Kumar, Masahiko Sawada, Nisha Moond, Kuroda Hayato, Amit Kapila |
| 138 | +Discussion: https://postgr.es/m/[email protected] |
| 139 | +``` |
107 | 140 |
|
108 | 141 |
|
109 | 142 | #### [期望 PostgreSQL|开源PolarDB 增加什么功能?](https://github.com/digoal/blog/issues/76 "269ac3d1c492e938c0191101c7238216") |
|
0 commit comments