pgsql: Fix thinko introduced by 82a5649 in slot.c - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Fix thinko introduced by 82a5649 in slot.c
Date
Msg-id E1hGZ6t-00010l-Bg@gemulon.postgresql.org
Whole thread Raw
List 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(+)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Simplify some ERROR paths clearing wait events and transientfil
Next
From: Magnus Hagander
Date:
Subject: pgsql: Return NULL for checksum failures if checksums are not enabled