pgsql: Fix mdsyncfiletag(), take II.

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема pgsql: Fix mdsyncfiletag(), take II.
Дата
Msg-id E1ig0cU-0008Hv-U5@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix mdsyncfiletag(), take II.

The previous commit failed to consider that FileGetRawDesc() might
not return a valid fd, as discovered on the build farm.  Switch to
using the File interface only.

Back-patch to 12, like the previous commit.

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/fd005e1a87446ad61a6c950841b0a6f93bdfb594

Modified Files
--------------
src/backend/storage/smgr/md.c | 25 +++++++++----------------
1 file changed, 9 insertions(+), 16 deletions(-)


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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: pgsql: Fix mdsyncfiletag(), take II.
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Fix memory leak when initializing DH parameters in backend