pgsql: Fix incorrect placement of pfree() in pg_relation_check_pages()

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Fix incorrect placement of pfree() in pg_relation_check_pages()
Дата
Msg-id E1kXvog-000589-F2@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix incorrect placement of pfree() in pg_relation_check_pages()

This would cause the function to crash when more than one page is
considered as broken and reported in the SRF.

Reported-by: Noriyoshi Shinoda
Discussion: https://postgr.es/m/TU4PR8401MB11523D42C315AAF822E74275EE170@TU4PR8401MB1152.NAMPRD84.PROD.OUTLOOK.COM

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/60a51c6b32960822d3987ea7d2816c65bdbcb314

Modified Files
--------------
src/backend/utils/adt/pagefuncs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Doc: clean up pg_relation_check_pages() documentation.
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Centralize horizon determination for temp tables, fixing bug due