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

Started by kevin brintnallabout 20 years ago2 messages
#1kevin brintnall
kbrint@rufus.net

Hi..

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 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>

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: kevin brintnall (#1)
Re: TODO: Allow INET + INT4 to increment the host part of the address

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