diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2017-06-09 09:47:52 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2017-06-12 08:53:37 -0400 |
commit | ddd7b22b225ae41d16ceb218b387645cb9becfdc (patch) | |
tree | 7cb6883325edf9c7f05c8e9fb867f025d38d6476 /src/backend/executor/nodeModifyTable.c | |
parent | eab86897bd8cbeb21ae8959ca9a095ce7cb663df (diff) | |
download | postgresql-ddd7b22b225ae41d16ceb218b387645cb9becfdc.tar.gz postgresql-ddd7b22b225ae41d16ceb218b387645cb9becfdc.zip |
Stop table sync workers when subscription relation entry is removed
When a table sync worker is in waiting state and the subscription table
entry is removed because of a concurrent subscription refresh, the
worker could be left orphaned. To avoid that, explicitly stop the
worker when the pg_subscription_rel entry is removed.
Reported-by: Masahiko Sawada <sawada.mshk@gmail.com>
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions