pgsql: Properly adjust pointers when tuples are moved during CLUSTER.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Properly adjust pointers when tuples are moved during CLUSTER.
Дата
Msg-id E1bLDSY-00046W-Ln@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Properly adjust pointers when tuples are moved during CLUSTER.

Otherwise, when we abandon incremental memory accounting and use
batch allocation for the final merge pass, we might crash.  This
has been broken since 0011c0091e886b874e485a46ff2c94222ffbf550.

Peter Geoghegan, tested by Noah Misch

Branch
------
master

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

Modified Files
--------------
src/backend/utils/sort/tuplesort.c | 54 ++++++++++++++++++++++++++++++++++++--
1 file changed, 52 insertions(+), 2 deletions(-)


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Fix a prototype which is inconsistent with the function definiti
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Fix typo in comment.