Re: [HACKERS] safer node casting - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] safer node casting
Date
Msg-id 23831.1485390100@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] safer node casting  (Andres Freund <andres@anarazel.de>)
Responses Re: [HACKERS] safer node casting  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2016-12-31 12:08:22 -0500, Peter Eisentraut wrote:
>> RestrictInfo *rinfo = castNode(RestrictInfo, lfirst(lc));

> Are you planning to add this / update this patch? Because I really would
> have liked this a number of times already...  I can update it according
> to my suggestions (to avoid multiple eval scenarios) if helpful

Yeah, I'd like that in sooner rather than later, too.  But we do need
it to be foolproof - no multiple evals.  The first draft had
inadequate-parenthesization hazards, too.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [HACKERS] Checksums by default?
Next
From: Andres Freund
Date:
Subject: Re: [HACKERS] Checksums by default?