pgsql: Fix thinko introduced by 82a5649 in slot.c

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix thinko introduced by 82a5649 in slot.c
Date: 2019-04-17 01:11:35
Message-ID: E1hGZ6t-00010l-Bg@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix thinko introduced by 82a5649 in slot.c

When saving a replication slot, failing to close the temporary path used
to save the slot information is considered as a failure and reported as
such. However the code forgot to leave immediately as other failure
paths do.

Noticed while looking up at this area of the code for another patch.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9010156445c420361c2cef9557751c0b8b52644b

Modified Files
--------------
src/backend/replication/slot.c | 3 +++
1 file changed, 3 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2019-04-17 11:55:14 pgsql: Return NULL for checksum failures if checksums are not enabled
Previous Message Michael Paquier 2019-04-17 00:57:09 pgsql: Simplify some ERROR paths clearing wait events and transient fil