pgsql: Avoid server crash when worker registration fails at execution t

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Avoid server crash when worker registration fails at execution t
Дата
Msg-id E1ZzqGE-0007D0-KX@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Avoid server crash when worker registration fails at execution time.

The previous coding attempts to destroy the DSM in this case, but
child nodes might have stored data there and still be holding onto
pointers in this case.  So don't do that.

Also, free the reader array instead of leaking it.

Extracted from two different patch versions both by Amit Kapila.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6c878a7553680579f287e4659592c0b874fb2377

Modified Files
--------------
src/backend/executor/nodeGather.c |    4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Fix typo in comment.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix handling of inherited check constraints in ALTER COLUMN TYPE