On Thu, May 12, 2022 at 01:35:39PM +0000, osumi.takamichi@fujitsu.com wrote:
> I'd like to suggest that we mention a new option for subscription 'disable_on_error'.
>
>
> https://github.com/postgres/postgres/commit/705e20f8550c0e8e47c0b6b20b5f5ffd6ffd9e33
Yes, I missed that one, added:
<!--
Author: Amit Kapila <akapila@postgresql.org>
2022-03-14 [705e20f85] Optionally disable subscriptions on error.
-->
<listitem>
<para>
Allow subscribers to stop logical replication application on error
(Osumi Takamichi, Mark Dilger)
</para>
<para>
This is enabled with the subscriber option "disable_on_error"
and avoids possible infinite loops during stream application.
</para>
</listitem>
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EDB https://enterprisedb.com
Indecision is a decision. Inaction is an action. Mark Batterson