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

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: Nathan Bossart <nathandbossart@gmail.com>, pgsql-hackers@postgresql.org
Date: 2023-01-15T13:23:13Z
Lists: pgsql-hackers
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.


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com




Commits

  1. Constify the arguments of copydir.h functions