pgsql: Improve tablesync behavior with concurrent changes

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve tablesync behavior with concurrent changes
Date: 2017-06-09 13:27:34
Message-ID: E1dJJws-0006no-6Q@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Improve tablesync behavior with concurrent changes

When a table is removed from a subscription before the tablesync worker
could start, this would previously result in an error when reading
pg_subscription_rel. Now we just ignore this.

Author: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8dc7c338129d22a52d4afcf2f83a73041119efda

Modified Files
--------------
src/backend/replication/logical/tablesync.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2017-06-09 14:17:35 pgsql: psql: Update tab completion for ALTER SUBSCRIPTION
Previous Message Heikki Linnakangas 2017-06-09 10:06:57 pgsql: Give a better error message on invalid hostaddr option.