Re: [HACKERS] A small problem with the new inet and cidr types

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] A small problem with the new inet and cidr types
Date: 1998-11-02 05:12:28
Message-ID: Pine.BSF.4.05.9811020110530.316-100000@thelab.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, 1 Nov 1998, Bruce Momjian wrote:

> > 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?

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...

Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy(at)hub(dot)org secondary: scrappy(at){freebsd|postgresql}.org

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message SHIOZAKI Takehiko 1998-11-02 05:18:12 Re: [HACKERS] v6.4-BETA3 problems with FreeBSD
Previous Message Brook Milligan 1998-11-02 04:51:15 Re: [HACKERS] backend crashing on NetBSD 1.3.2/i386