Re: archive modules loose ends - Mailing list pgsql-hackers

From Li, Yong
Subject Re: archive modules loose ends
Date
Msg-id 5810C4B0-EDE0-4504-AB66-0DBFB79F690E@ebay.com
Whole thread Raw
In response to Re: archive modules loose ends  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: archive modules loose ends
List pgsql-hackers

> On Nov 29, 2023, at 01:18, Nathan Bossart <nathandbossart@gmail.com> wrote:
> 
> External Email
> 
> Here is a new version of the patch with feedback addressed.
> 
> --
> Nathan Bossart
> Amazon Web Services: https://aws.amazon.com

Hi Nathan,

The patch looks good to me.  With the context explained in the thread, the patch is easy to understand.
The patch serves as a refactoring which pulls up common memory management and error handling concerns into the
pgarch.c. With the patch, individual archive callbacks can focus on copying the files and leave the boilerplate code to
pgarch.c.
 

The patch applies cleanly to HEAD.  “make check-world” also runs cleanly with no error.


Regards,
Yong

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Lockless exit path for ReplicationOriginExitCleanup
Next
From: Daniel Gustafsson
Date:
Subject: Re: Fix a possible socket leak at Windows (src/backend/port/win32/socket.c)