pgsql: Fix error reporting after ioctl() call with pg_upgrade --clone

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Fix error reporting after ioctl() call with pg_upgrade --clone
Дата
Msg-id E1oIQ1y-002Dxe-OK@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix error reporting after ioctl() call with pg_upgrade --clone

errno was not reported correctly after attempting to clone a file,
leading to incorrect error reports.  While scanning through the code, I
have not noticed any similar mistakes.

Error introduced in 3a769d8.

Author: Justin Pryzby
Discussion: https://postgr.es/m/20220731134135.GY15006@telsasoft.com
Backpatch-through: 12

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/24872bbf9288d8949b3f2ed60c0f3ef12015016f

Modified Files
--------------
src/bin/pg_upgrade/file.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: pgsql: ci: remove minor version from freebsd image name
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Check maximum number of columns in function RTEs, too.