Hi hackers,

 In heap_create_with_catalog, the Relation new_rel_desc is created
by RelationBuildLocalRelation, not table_open. So it's better to
call RelationClose to release it.

What's more, the comment for it seems useless, just delete it.

Thanks!

Attachment: 0001-Use-RelationClose-rather-than-table_close-in-heap_cr.patch
Description: 0001-Use-RelationClose-rather-than-table_close-in-heap_cr.patch

Reply via email to