Обсуждение: TODO: Allow INET + INT4 to increment the host part of the address

Поиск
Список
Период
Сортировка

TODO: Allow INET + INT4 to increment the host part of the address

От
kevin brintnall
Дата:
Hi..

I want to work on the following TODO item:
Allow INET + INT4 to increment the host part of the address, orthrow an error on overflow.

I plan to add a '+' operator to the system catalog.  Is there a way to
reserve/request an OID for this purpose?  I was thinking about using 1265,
but I don't want to conflict with any existing work.  Is there a process
for getting an OID (or is this it? :)

-- kevin brintnall =~ <kbrint@rufus.net>


Re: TODO: Allow INET + INT4 to increment the host part of the address

От
Tom Lane
Дата:
kevin brintnall <kbrint@rufus.net> writes:
> I want to work on the following TODO item:
>     Allow INET + INT4 to increment the host part of the address, or
>     throw an error on overflow.

I think Joachim Wieland is already on that; see yesterday's discussion.

> I plan to add a '+' operator to the system catalog.  Is there a way to
> reserve/request an OID for this purpose?  I was thinking about using 1265,
> but I don't want to conflict with any existing work.  Is there a process
> for getting an OID (or is this it? :)

The usual procedure is that you take one that is free (see unused_oids)
and rely on the person committing the patch to adjust it if the
situation has changed by the time it's committed.
        regards, tom lane