Re: constify arguments of copy_file() and copydir()

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: Andrew Dunstan <andrew@dunslane.net>, pgsql-hackers@postgresql.org
Date: 2023-01-16T01:53:40Z
Lists: pgsql-hackers
On Sun, Jan 15, 2023 at 08:13:28AM -0800, Nathan Bossart wrote:
> On Sun, Jan 15, 2023 at 08:23:13AM -0500, Andrew Dunstan wrote:
>> On 2023-01-14 Sa 18:11, Nathan Bossart wrote:
>>> I've attached a patch for $SUBJECT, which allows us to remove a use of the
>>> unconstify macro in basic_archive.  This is just a pet peeve, but maybe it
>>> bothers others, too.
>> 
>> I don't like using unconstify where it can be avoided, so this looks
>> reasonable to me.

+1.
--
Michael

Commits

  1. Constify the arguments of copydir.h functions