Обсуждение: pgsql: Fix thinko introduced by 82a5649 in slot.c

Поиск
Список
Период
Сортировка

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

От
Michael Paquier
Дата:
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(+)