| From: | "Alexander M(dot) Pravking" <fduch(at)antar(dot)bryansk(dot)ru> |
|---|---|
| To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
| Cc: | pgsql-bugs(at)postgresql(dot)org |
| Subject: | Re: Broken CIDR: no fix in 7.4.6? |
| Date: | 2004-11-12 16:49:06 |
| Message-ID: | 20041112164906.GE12640@dyatel.antar.bryansk.ru |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
On Fri, Nov 12, 2004 at 11:37:24AM -0500, Bruce Momjian wrote:
> Alexander M. Pravking wrote:
> >
> > As been said, in 7.4.5 CIDR data type has been accepted values with
> > non-zero bits to the right of >24-bit mask:
> >
> > http://archives.postgresql.org/pgsql-bugs/2004-10/msg00081.php
> >
> > In CVS head src/backend/utils/adt/network.c (1.54) has a fix by Bruce,
> > but 7.4.6 still has 1.47.2.1 with no fix.
> >
> > I wonder if I can safely use diff -r1.53 -r1.54 .../network.c to patch
> > 7.4.6 sources...
>
> Yes, you can, but you should be sure all your existing data is clean or
> you will have problems with revalidating some of your data. We didn't
> backpatch this fix because it was something that might break existing
> bad data that got into your system.
Good point.
Of course, I'll check, thanks.
--
Fduch M. Pravking
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Fabien COELHO | 2004-11-12 16:57:53 | Re: "strange" rule behavior with nextval on new.* fields |
| Previous Message | Joe Conway | 2004-11-12 16:42:01 | Re: BUG #1313: problems with array syntax parsing in SQL |