X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 734D9D9D5C for ; Sat, 1 Oct 2005 14:36:48 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 06134-04 for ; Sat, 1 Oct 2005 17:36:39 +0000 (GMT) Received: from ms-smtp-04-eri0.ohiordc.rr.com (ms-smtp-04-smtplb.ohiordc.rr.com [65.24.5.138]) by svr1.postgresql.org (Postfix) with ESMTP id 54086D956C for ; Sat, 1 Oct 2005 14:36:38 -0300 (ADT) Received: from [192.168.0.8] (cpe-65-24-145-58.columbus.res.rr.com [65.24.145.58]) by ms-smtp-04-eri0.ohiordc.rr.com (8.12.10/8.12.7) with ESMTP id j91HaaHH008666 for ; Sat, 1 Oct 2005 13:36:36 -0400 (EDT) Message-ID: <433EC9D4.9050201@ev.net> Date: Sat, 01 Oct 2005 13:39:32 -0400 From: Russell Francis User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050904) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Re: queries against CIDR fail against 8.0.3? References: <433BE38F.3080605@ev.net> <433C7725.1040707@opencloud.com> <433D8CA1.3050601@ev.net> <433DF50D.7060206@ev.net> In-Reply-To: <433DF50D.7060206@ev.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 required=5 tests=[none] X-Spam-Level: X-Archive-Number: 200510/2 X-Sequence-Number: 13933 Russell Francis wrote: >>Seems reasonable for us to offer a PGxxx class for every core backend >>type. Send them in and we'll take a look... >> >>Kris Jurka >> > > > Kris, > > Attached is an implementation for the proposed PGcidr & PGinet classes. > I have tried to follow the formatting conventions used in the geometric > extensions but is is a first attempt, please let me know if there is > anything else I should/could do to improve these. > > I will take any comments / suggestions and incorporate them into the > PGmacaddr class also. > > Cheers, > Russ Just realized that INET and CIDR also support IPV6 addresses too. I feel dumb :) let me take another stab at this. Sorry, Russ