Re: Wrong masklen in result of netmask()/hostmask()

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Wrong masklen in result of netmask()/hostmask()
Date: 2003-12-01 04:11:45
Message-ID: 200312010411.hB14Bjp06315@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> The previous behavior had been agreed to at one point:
> http://archives.postgresql.org/pgsql-hackers/2000-10/msg01132.php
> I can't find anyplace in the archives where the change was discussed
> at all.
>
> hostmask() was not in 7.3 so its behavior is a bit up for grabs,
> but I think it ought to return the same masklen as netmask().

Yep, I am sure it was an oversight. Seems like a good candidate for
7.4.1.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-12-01 04:50:57 Re: [HACKERS] Index creation takes for ever
Previous Message Bruce Momjian 2003-12-01 04:10:09 Re: [PATCH] Re: [pgsql-advocacy] Why READ ONLY transactions?