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

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: darcy(at)druid(dot)net (D'Arcy J(dot)M(dot) Cain)
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] A small problem with the new inet and cidr types
Date: 1998-11-01 22:44:13
Message-ID: 199811012244.RAA01062@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 1998-11-01 22:59:34 Re: [HACKERS] backend crashing on NetBSD 1.3.2/i386
Previous Message Brook Milligan 1998-11-01 22:31:11 Re: [HACKERS] backend crashing on NetBSD 1.3.2/i386