Re: inet/cidr ipv6 operations

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Chris Angelico <rosuav(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: inet/cidr ipv6 operations
Date: 2013-01-29 16:43:07
Message-ID: 9264.1359477787@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Chris Angelico <rosuav(at)gmail(dot)com> writes:
> On Wed, Jan 30, 2013 at 2:16 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> It's hard to muster much excitement about that when we've already
>> got "numeric".

> True, but I wasn't able (with 9.1, so that might have changed since)
> to add inet to numeric. Maybe that would be easier?

There's no such function today, but it could be added if anyone cared
enough.

> I don't think inet + inet is the right thing for this.

Agreed, that doesn't seem very sensible --- it's a units failure,
in some sense.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message dmp 2013-01-29 16:56:07 Re: JDBC connection test with SSL on PG 9.2.1 server
Previous Message Adrian Klaver 2013-01-29 15:46:12 Re: Fwd: Functions not visible in pg_stat_user_functions view