Re: Add const qualifiers to internal range type APIs

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Add const qualifiers to internal range type APIs
Дата
Msg-id 15f50e1b-fff1-1438-de64-01cfe153f177@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Add const qualifiers to internal range type APIs  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Add const qualifiers to internal range type APIs
Список pgsql-hackers
On 2019-10-28 14:05, Robert Haas wrote:
> On Mon, Oct 28, 2019 at 5:01 AM Peter Eisentraut
> <peter.eisentraut@2ndquadrant.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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Remove one use of IDENT_USERNAME_MAX
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: alternative to PG_CATCH