Re: Add const qualifiers to internal range type APIs

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Add const qualifiers to internal range type APIs
Date: 2019-10-29 15:48:24
Message-ID: 15f50e1b-fff1-1438-de64-01cfe153f177@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2019-10-28 14:05, Robert Haas wrote:
> On Mon, Oct 28, 2019 at 5:01 AM Peter Eisentraut
> <peter(dot)eisentraut(at)2ndquadrant(dot)com> wrote:
>> This patch adds const qualifiers to internal range type APIs. It
>> doesn't require any new casts or remove any old ones.
>
> Just out of curiosity, what is the motivation for this?

I don't remember. :-)

I had this code lying around from earlier "adventures in const",
probably related to unconstify() and that work, and it seemed sensible
and self-contained enough to finish up and submit.

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2019-10-29 15:53:02 Re: alternative to PG_CATCH
Previous Message Tom Lane 2019-10-29 14:34:00 Re: Remove one use of IDENT_USERNAME_MAX