errno clobbering in reorderbuffer

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема errno clobbering in reorderbuffer
Дата
Msg-id 20160818220602.GA981393@alvherre.pgsql
обсуждение
Ответы Re: errno clobbering in reorderbuffer
Re: errno clobbering in reorderbuffer
Re: errno clobbering in reorderbuffer
Список pgsql-hackers
While researching a customer issue with BDR I noticed that one ereport()
call happens after clobbering errno, leading to the wrong strerror being
reported.  This patch fixes it by saving before calling
CloseTransientFile and restoring afterwards.

I also threw in a missing errcode I noticed while looking for similar
problems in the same file.

This is to backpatch to 9.4.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Вложения

В списке pgsql-hackers по дате отправления: