Re: unconstify equivalent for volatile - Mailing list pgsql-hackers

From Tom Lane
Subject Re: unconstify equivalent for volatile
Date
Msg-id 8907.1550521255@sss.pgh.pa.us
Whole thread Raw
In response to Re: unconstify equivalent for volatile  (Petr Jelinek <petr.jelinek@2ndquadrant.com>)
List pgsql-hackers
Petr Jelinek <petr.jelinek@2ndquadrant.com> writes:
> On 18/02/2019 16:43, Tom Lane wrote:
>> Umm ... wouldn't this amount to papering over actual bugs?

> I'd argue that it's not making it easier to do but rather easier to spot
> (vs normal type casting) which is IMO a good thing from patch review
> perspective.

Yeah, fair point.  As Peter noted about unconstify, these could be
viewed as TODO markers.

            regards, tom lane


pgsql-hackers by date:

Previous
From: Petr Jelinek
Date:
Subject: Re: unconstify equivalent for volatile
Next
From: Andres Freund
Date:
Subject: Re: unconstify equivalent for volatile