Refactoring postgres_fdw code to rollback remote transaction

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Refactoring postgres_fdw code to rollback remote transaction
Дата
Msg-id 62fbb63a-d46c-fb47-a56d-f6be1909aa44@oss.nttdata.com
обсуждение исходный текст
Ответы Re: Refactoring postgres_fdw code to rollback remote transaction  (Zhihong Yu <zyu@yugabyte.com>)
Список pgsql-hackers
Hi,

In postgres_fdw, pgfdw_xact_callback() and pgfdw_subxact_callback() do
almost the same thing to rollback remote toplevel- and sub-transaction.
But their such rollback logics are implemented separately and
in different way. Which would decrease the readability and maintainability,
I think. So how about making the common function so that those callback
functions can just use it? Patch attached.

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Estimating HugePages Requirements?
Следующее
От: Zhihong Yu
Дата:
Сообщение: Re: Refactoring postgres_fdw code to rollback remote transaction