pgsql: Remove replication slot name check from ReplicationSlotAcquire()

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove replication slot name check from ReplicationSlotAcquire()
Date: 2017-06-02 19:25:44
Message-ID: E1dGsCe-0007Rh-Kz@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove replication slot name check from ReplicationSlotAcquire()

When trying to access a replication slot that is supposed to already
exist, we don't need to check the naming rules again. If the slot
does not exist, we will then get a "does not exist" error message, which
is generally more useful from the perspective of an end user.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/420a0392ef8fdac3eb6f0a616c136215f7454674

Modified Files
--------------
src/backend/replication/slot.c | 2 --
1 file changed, 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-06-02 23:04:07 Re: pgsql: Fix signal handling in logical replication workers
Previous Message Peter Eisentraut 2017-06-02 18:51:00 pgsql: Fix signal handling in logical replication workers