Re: Large writable variables - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Large writable variables
Date
Msg-id 20181018203113.t455hsgihmx6gkg4@alap3.anarazel.de
Whole thread Raw
In response to Re: Large writable variables  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: Large writable variables  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
On 2018-10-18 22:17:55 +0200, Peter Eisentraut wrote:
> I'd perhaps change the signature
> 
> #define unconstify(underlying_type, var)
> 
> because the "var" doesn't actually have to be a variable.

Hm, so expr, or what would you use?

> Attached is my previous patch adapted to your macro.
> 
> I'm tempted to get rid of the stuff in dfmgr.c and just let the "older
> platforms" get the warning.

Yea, that works for me.


Are you planning to apply this?

Greetings,

Andres Freund


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Large writable variables
Next
From: Andres Freund
Date:
Subject: Re: Making all nbtree entries unique by having heap TIDs participatein comparisons