Lists: | pgsql-hackers |
---|
From: | kevin brintnall <kbrint(at)rufus(dot)net> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | TODO: Allow INET + INT4 to increment the host part of the address |
Date: | 2006-01-09 03:10:56 |
Message-ID: | 20060109031056.GA33085@rufus.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
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(at)rufus(dot)net>
From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | kevin brintnall <kbrint(at)rufus(dot)net> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: TODO: Allow INET + INT4 to increment the host part of the address |
Date: | 2006-01-09 03:35:44 |
Message-ID: | 25236.1136777744@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
kevin brintnall <kbrint(at)rufus(dot)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