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/tu4pr8401mb11523d42c315aaf822e74275ee...@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(-)

Reply via email to