pgsql: Improve messaging during logical replication worker startup

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve messaging during logical replication worker startup
Date: 2018-04-06 13:10:04
Message-ID: E1f4R80-0000tw-EP@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Improve messaging during logical replication worker startup

In case the subscription is removed before the worker is fully started,
give a specific error message instead of the generic "cache lookup"
error.

Author: Petr Jelinek <petr(dot)jelinek(at)2ndquadrant(dot)com>
Reviewed-by: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c25304a945467f6edfcca10d7931b913776d066b

Modified Files
--------------
src/backend/replication/logical/worker.c | 20 +++++++++++++++-----
1 file changed, 15 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Pavan Deolasee 2018-04-06 13:23:32 Re: pgsql: New files for MERGE
Previous Message Peter Eisentraut 2018-04-06 12:50:23 pgsql: Fix compiler warning about format truncation