Re: Large writable variables - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Large writable variables
Date
Msg-id 79c80f75-7b14-1d88-e26b-f634991b8cfb@2ndquadrant.com
Whole thread Raw
In response to Re: Large writable variables  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On 18/10/2018 21:31, Andres Freund wrote:
> 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?

done

>> 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.

and done

> Yea, that works for me.
> 
> Are you planning to apply this?

and done

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: Log timestamps at higher resolution
Next
From: Michael Paquier
Date:
Subject: Re: Function to promote standby servers