Re: [HACKERS] A small problem with the new inet and cidr types - Mailing list pgsql-hackers

From darcy@druid.net (D'Arcy J.M. Cain)
Subject Re: [HACKERS] A small problem with the new inet and cidr types
Date
Msg-id m0zaKGp-0000eRC@druid.net
Whole thread Raw
In response to Re: [HACKERS] A small problem with the new inet and cidr types  (The Hermit Hacker <scrappy@hub.org>)
Responses Re: [HACKERS] A small problem with the new inet and cidr types
List pgsql-hackers
Thus spake The Hermit Hacker
> > Huh.  You have a backend crash fix, and we can't apply it until after
> > 6.4 is out the door?
> 
>     D'Arcy is going to release a patch for the fix on the same day as
> the release, as it is something that only affects a very small aspect of
> the server, and will affect very few ppl...

Not so sure about that, Marc.  It is, however, easy to work around.  You
just have to set NOT NULL for any inet or cidr type but I already have
a use for null ip numbers.  That's how I found the problem.

Of course, it's such a new type that I'm sure it won't be heavily used for
a little while anyway.

I just had another thought.  Do any other types exhibit this problem?
I think I'll go check enhance a few regression tests.

-- 
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 424 2871     (DoD#0082)    (eNTP)   |  what's for dinner.


pgsql-hackers by date:

Previous
From: darcy@druid.net (D'Arcy J.M. Cain)
Date:
Subject: Re: [HACKERS] A small problem with the new inet and cidr types
Next
From: darcy@druid.net (D'Arcy J.M. Cain)
Date:
Subject: Re: [HACKERS] A small problem with the new inet and cidr types