Re: ipv4 data type does not allow to use % as subnet mask delimiter

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andrus <kobruleht2(at)hot(dot)ee>, PostgreSQL - General <pgsql-general(at)postgresql(dot)org>
Subject: Re: ipv4 data type does not allow to use % as subnet mask delimiter
Date: 2010-11-14 22:22:16
Message-ID: 1289773336.21519.14.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On sön, 2010-11-14 at 16:46 -0500, Tom Lane wrote:
> Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> > On tor, 2010-11-11 at 20:33 +0200, Andrus wrote:
> >> Windows uses % as subnet mask delimiter.
>
> > This is not a subnet mask but a zone index, but it should probably still
> > be supported.
>
> I believe we looked into that some time ago and decided that the
> behavior was too platform-dependent to be worth messing with.

I suppose the problem is that the zone identifier could be almost any
string, and storing that would upset the inet storage format.

Then again, this is part of the IPv6 standard, so just giving up might
not be sustainable in the long run.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-11-14 22:35:45 Re: ipv4 data type does not allow to use % as subnet mask delimiter
Previous Message Tom Lane 2010-11-14 21:46:26 Re: ipv4 data type does not allow to use % as subnet mask delimiter