Re: Use SetInstallXLogFileSegmentActive() for setting XLogCtl->InstallXLogFileSegmentActive - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: Use SetInstallXLogFileSegmentActive() for setting XLogCtl->InstallXLogFileSegmentActive
Date
Msg-id 20220811224700.GA1657991@nathanxps13
Whole thread Raw
In response to Use SetInstallXLogFileSegmentActive() for setting XLogCtl->InstallXLogFileSegmentActive  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Responses Re: Use SetInstallXLogFileSegmentActive() for setting XLogCtl->InstallXLogFileSegmentActive
List pgsql-hackers
On Thu, Aug 11, 2022 at 09:42:18PM +0530, Bharath Rupireddy wrote:
> Here's a small patch replacing the explicit setting of
> XLogCtl->InstallXLogFileSegmentActive with the existing function
> SetInstallXLogFileSegmentActive(), removes duplicate code and saves 4
> LOC.

LGTM

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com



pgsql-hackers by date:

Previous
From: Souvik Bhattacherjee
Date:
Subject: Re: Reducing planning time of large IN queries on primary key / unique columns
Next
From: Nathan Bossart
Date:
Subject: Re: O(n) tasks cause lengthy startups and checkpoints