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

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: constify arguments of copy_file() and copydir()
Date: 2023-01-15 16:13:28
Message-ID: 20230115161328.GB2582058@nathanxps13
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

Thanks. Added to the next commitfest:

https://commitfest.postgresql.org/42/4126/

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin Pryzby 2023-01-15 16:24:49 Re: UPDATE operation terminates logical replication receiver process due to an assertion
Previous Message Nathan Bossart 2023-01-15 16:10:54 Re: Code review in dsa.c