Fix thinko introduced by 82a5649 in slot.c
authorMichael Paquier <michael@paquier.xyz>
Wed, 17 Apr 2019 01:01:22 +0000 (10:01 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 17 Apr 2019 01:01:22 +0000 (10:01 +0900)
commit9010156445c420361c2cef9557751c0b8b52644b
tree818e9d0a08ca21b286914dceb140bfb238040f2b
parent47ac2033d460cefbbda2e39732e18de521dc6a36
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.
src/backend/replication/slot.c