pgsql: Fix incorrect code in new REINDEX CONCURRENTLY code

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Fix incorrect code in new REINDEX CONCURRENTLY code
Дата
Msg-id E1h9oc4-0000yu-Ry@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix incorrect code in new REINDEX CONCURRENTLY code

The previous code was adding pointers to transient variables to a
list, but by the time the list was read, the variable might be gone,
depending on the compiler.  Fix it by making copies in the proper
memory context.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bb76134b08aa46cdeb0ff1e6d7b392d315529a8c

Modified Files
--------------
src/backend/commands/indexcmds.c | 28 ++++++++++++++++------------
1 file changed, 16 insertions(+), 12 deletions(-)


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: pgsql: Compute XID horizon for page level index vacuum on primary.
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Warn more strongly about the dangers of exclusive backup mode.