pgsql: Improve the signature of internal multirange functions

Поиск
Список
Период
Сортировка
От Alexander Korotkov
Тема pgsql: Improve the signature of internal multirange functions
Дата
Msg-id E1kuLsE-0000pz-Q4@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Improve the signature of internal multirange functions

There is a set of *_internal() functions exposed in
include/utils/multirangetypes.h.  This commit improves the signatures of these
functions in two ways.
 * Add const qualifies where applicable.
 * Replace multirange typecache argument with range typecache argument.
   Multirange typecache was used solely to find the range typecache.  At the
   same time, range typecache is easier for the caller to find.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d1d61a8b23b604faf797695eeacaa5da4fe64762

Modified Files
--------------
src/backend/utils/adt/multirangetypes.c | 206 +++++++++++++++++---------------
src/include/utils/multirangetypes.h     |  69 ++++++-----
2 files changed, 153 insertions(+), 122 deletions(-)


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: doc: Improve some grammar and sentences
Следующее
От: Alexander Korotkov
Дата:
Сообщение: Re: pgsql: Add support of multirange matching to the existing range GiST in