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

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Fix thinko introduced by 82a5649 in slot.c
Дата
Msg-id E1hGZ6t-00010l-Bg@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Simplify some ERROR paths clearing wait events and transientfil
Следующее
От: Magnus Hagander
Дата:
Сообщение: pgsql: Return NULL for checksum failures if checksums are not enabled