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

From Bruce Momjian
Subject Re: [HACKERS] A small problem with the new inet and cidr types
Date
Msg-id 199811012244.RAA01062@candle.pha.pa.us
Whole thread Raw
In response to A small problem with the new inet and cidr types  (darcy@druid.net (D'Arcy J.M. Cain))
Responses Re: [HACKERS] A small problem with the new inet and cidr types  (The Hermit Hacker <scrappy@hub.org>)
Re: [HACKERS] A small problem with the new inet and cidr types  (darcy@druid.net (D'Arcy J.M. Cain))
List pgsql-hackers
> It seems that we have a small problem with the operators and functions
> in the inet and cidr types.  If the value in a field is null then the
> backend crashes when you try to apply one of the operators or functions
> on it.  I have a small patch ready to fix the functions but I'm not
> sure what the behaviour should be for the operators.  For the functions
> I return an empty string if the argument is null except for masklen()
> which returns 0.  Should masklen return 32?
> 
> At Marc's request I am holding my patch until 6.4 is frozen.

Huh.  You have a backend crash fix, and we can't apply it until after
6.4 is out the door?

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Brook Milligan
Date:
Subject: Re: [HACKERS] backend crashing on NetBSD 1.3.2/i386
Next
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] backend crashing on NetBSD 1.3.2/i386