pgsql: Ensure gatherstate->nextreader is properly initialized.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Ensure gatherstate->nextreader is properly initialized.
Дата
Msg-id E1cE0Nf-0003zW-VX@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Ensure gatherstate->nextreader is properly initialized.

The previously code worked OK as long as a Gather node was never
rescanned, or if it was rescanned, as long as it got at least as
many workers on rescan as it had originally.  But if the number
of workers ever decreased on a rescan, then it could crash.

Andreas Seltenreich

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/53c7cff7200b6689b102f2e4a40650cf652dae39

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


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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: pgsql: Add support for restrictive RLS policies
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Ensure gatherstate->nextreader is properly initialized.