[Patch] remove duplicated smgrclose - Mailing list pgsql-hackers

From Steven Niu
Subject [Patch] remove duplicated smgrclose
Date
Msg-id CABBtG=cDTCBDCBK7McSy6bJR3s5xUTOg0vSFfuW8oLdUYyCscA@mail.gmail.com
Whole thread Raw
Responses Re: [Patch] remove duplicated smgrclose
List pgsql-hackers
Hello, hackers, 

I think there may be some duplicated codes. 
Function smgrDoPendingDeletes() calls both smgrdounlinkall() and smgrclose().
But both functions would close SMgrRelation object, it's dupliacted behavior? 

So I make this patch. Could someone take a look at it? 

Thanks for your help,
Steven 

From Highgo.com


Attachment

pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: Popcount optimization using AVX512
Next
From: "Hayato Kuroda (Fujitsu)"
Date:
Subject: RE: Parallel heap vacuum