pgsql: Fix multiple problems in postgres_fdw query cancellation logic.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Fix multiple problems in postgres_fdw query cancellation logic.
Дата
Msg-id E1b2KO3-000582-3G@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix multiple problems in postgres_fdw query cancellation logic.

First, even if we cancel a query, we still have to roll back the
containing transaction; otherwise, the session will be left in a
failed transaction state.

Second, we need to support canceling queries whe aborting a
subtransaction as well as when aborting a toplevel transaction.

Etsuro Fujita, reviewed by Michael Paquier

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/1b812afb0eafe125b820cc3b95e7ca03821aa675

Modified Files
--------------
contrib/postgres_fdw/connection.c | 28 +++++++++++++++++++++++++---
1 file changed, 25 insertions(+), 3 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix comment.
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: postgres_fdw: Fix the fix for crash when pushing down multiple j