[Patch] remove duplicated smgrclose

From: Steven Niu <niushiji(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: [Patch] remove duplicated smgrclose
Date: 2024-07-31 03:15:47
Message-ID: CABBtG=cDTCBDCBK7McSy6bJR3s5xUTOg0vSFfuW8oLdUYyCscA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
0001-remove-duplicated-smgrclose.patch application/octet-stream 2.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hayato Kuroda (Fujitsu) 2024-07-31 03:54:22 RE: Parallel heap vacuum
Previous Message Nathan Bossart 2024-07-31 03:12:18 Re: Popcount optimization using AVX512