pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@postgresql.org, Thomas Munro <thomas.munro@enterprisedb.com>
Subject: Re: Large writable variables
Date: Thu, 25 Oct 2018 01:04:34 +0100
Message-ID: <79c80f75-7b14-1d88-e26b-f634991b8cfb@2ndquadrant.com> (raw)
In-Reply-To: <20181018203113.t455hsgihmx6gkg4@alap3.anarazel.de>
References: <20181015200754.7y7zfuzsoux2c4ya@alap3.anarazel.de>
	<20181016045051.wr35ubb6h7h3ee2b@alap3.anarazel.de>
	<20181016050200.c65yjz2qgxulgouv@alap3.anarazel.de>
	<20181016063013.kigj6e5pqx6n75y3@alap3.anarazel.de>
	<200cf391-4a60-4c69-85d8-c715c7bce4de@2ndquadrant.com>
	<20181017200200.t752esxtgnefktu3@alap3.anarazel.de>
	<e0c988b9-9df8-51f2-b963-94e27816c622@2ndquadrant.com>
	<20181017215106.esosgw7qfnfavcdw@alap3.anarazel.de>
	<08adbe4e-38f8-2c73-55f0-591392371687@2ndquadrant.com>
	<20181018203113.t455hsgihmx6gkg4@alap3.anarazel.de>

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




view thread (51+ messages)

Message-ID: <79c80f75-7b14-1d88-e26b-f634991b8cfb@2ndquadrant.com>
Permalink:  ../79c80f75-7b14-1d88-e26b-f634991b8cfb@2ndquadrant.com/
Also on:    postgresql.org/message-id/79c80f75-7b14-1d88-e26b-f634991b8cfb@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, andres@anarazel.de, thomas.munro@enterprisedb.com
  Subject: Re: Large writable variables
  In-Reply-To: <79c80f75-7b14-1d88-e26b-f634991b8cfb@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox