Restart the apply worker if the 'password_required' option is changed.
authorAmit Kapila <akapila@postgresql.org>
Thu, 20 Apr 2023 03:26:18 +0000 (08:56 +0530)
committerAmit Kapila <akapila@postgresql.org>
Thu, 20 Apr 2023 03:26:18 +0000 (08:56 +0530)
commitc1cc4e688b60090f194017c6e15e330a725fba3e
treeeaa9309676b654558de7f6cdc8864be774511c71
parent7d3d72b55edd1b7552a9a358991555994efab0e9
Restart the apply worker if the 'password_required' option is changed.

The apply worker is restarted if any subscription option that affects the
remote connection was changed. In commit c3afe8cf5a, we added the option
'password_required' which can affect the remote connection, so we should
restart the worker if it was changed.

Author: Amit Kapila
Reviewed-by: Robert Haas
Discussion: https://postgr.es/m/CAA4eK1+z9UDFEynXLsWeMMuUZc1iQkRwj2HNDtxUHTPo-u1F4A@mail.gmail.com
Discussion: https://postgr.es/m/9DFC88D3-1300-4DE8-ACBC-4CEF84399A53@enterprisedb.com
src/backend/replication/logical/worker.c