Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZRLQe-00045l-C7 for pgsql-sql@arkaria.postgresql.org; Mon, 17 Aug 2015 14:30:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZRLQd-0004GU-J5 for pgsql-sql@arkaria.postgresql.org; Mon, 17 Aug 2015 14:30:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZRLQd-0004G6-4O for pgsql-sql@postgresql.org; Mon, 17 Aug 2015 14:30:23 +0000 Received: from mout.gmx.net ([212.227.17.22]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.84) (envelope-from ) id 1ZRLQZ-0006Z7-Cj for pgsql-sql@postgresql.org; Mon, 17 Aug 2015 14:30:22 +0000 Received: from auth2-smtp.messagingengine.com ([66.111.4.228]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MO7Ca-1ZO3dU3tQ4-005awz for ; Mon, 17 Aug 2015 16:30:17 +0200 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id 5B3C021B6C for ; Mon, 17 Aug 2015 10:30:15 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Mon, 17 Aug 2015 10:30:15 -0400 X-Sasl-enc: xTI2mktptbS8tVhUK93SnTkgIYQB1fX41qCeF1wytJvo 1439821815 Received: from [192.168.110.52] (unknown [204.145.120.11]) by mail.messagingengine.com (Postfix) with ESMTPA id 22BE4C0001F; Mon, 17 Aug 2015 10:30:15 -0400 (EDT) Message-ID: <55D1EFF6.8060703@gmx.net> Date: Mon, 17 Aug 2015 10:30:14 -0400 From: Peter Eisentraut User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: "Richard RK. Klingler" , "pgsql-sql@postgresql.org" Subject: Re: IP address, subnet query behaves wrong for /32 References: <1FC8E571-8456-4085-B59B-016ECD365768@klingler.net> <55C39320.4010905@aklaver.com> <16388.1438888231@sss.pgh.pa.us> <10B2FB45-DFE8-4075-BFB0-36023ADF9837@klingler.net> In-Reply-To: <10B2FB45-DFE8-4075-BFB0-36023ADF9837@klingler.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:qaA2HH2iWrnFOWeJH6vRNnm5TYl/ncmMKiOgjJ/2OK+7HMKY4F8 xXFHmVg/rVmKJJ8F/oMNfzKMM/CRiD9KJZcjniwvUOcNd78mbqeybNvfOKsN9VG25Y96bDQ vf5HmwOCBijWdVc5MtKiCORjpuLvLeriyesHHkulcD0ftt8jIfk2CKWzqMemdRsy19o74YZ 0RyK2N9K7lS8q6bqGRxdw== X-UI-Out-Filterresults: notjunk:1;V01:K0:MT7T37hqoyY=:6YN+zlDcPv7EW+OchpCtOc ECXgSTumesRX575K94Dmg0cXNX5q83FqTokntKVpXUWRCiCpJsWkuuiLRAuwoUKPXopaTNTqB DXZxJcyAYR116YRHZmtubIuqv7MHSUkLAT/EACnwR2+63DDk8wvMfZFyEcKPUPLS9RA4KuZ7j zjIdniO/bVZlMWsDl+Uc6IgMySI3aKrn3JCmAsIj8tTaRDQlhibMWB0KzIHH7HKPL+Guz8CEz egZqKGrGVUV2Ki1U+ul9W0EIGmN1r9I/k4pIYOmrBSFhDa9QGFtPMj4iT38+YKWwK3cO8o1BN UPm1J7c+eM6eULo3nQuKMWpVibZbvx5dWNceUW+qqyLrd0H42qnjwvCATzobPd59Gr5ielv1K 4GBWIhG52k4knMMKJzGUYlYFL4I+Xf3Yu6YRueuZ5xJB1U4DZb32mpwshPbFZHHEYlfQL95iA Un7ZNDThqC1qJwNzJvOhQmUqrFsbwVU/Qng3dqD1s54d4MYLXEoD53mvb+Vc6/LaAfOszLuUh Lf6vlnWMhnUY07TvE5puyAZRCE+I78hS65Ftm41OEPPU+Nxl9AwpvNdG3BWdg9gz4Xc6wFixR Dss4u9494M138dROHASF/+OYvlNWfMOOahANitUlgWmTDywuGfSK1T3EBkuQ5PxY9GtvlWNrn /MgPp9HURN9eE/fCgXhOeSZhpNi/wPqv8TUGZGdJzBSLeLYLZMDRYTo5uHhCSFYP/FkyyjdMS 3/Yit8nEk8lCOvGQuSkYYgfmhi01LLl1Y5dvpw== X-Pg-Spam-Score: -3.2 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-sql Precedence: bulk Sender: pgsql-sql-owner@postgresql.org On 8/6/15 3:35 PM, Richard RK. Klingler wrote: > Thanks to all for the clarifications... > > I'm looking at this form an application perspective... > as this would greatly enhance an IPAM database web application. > > Sad there is no direct IP address sorting function like in MySQL (o; Many people prefer ip4r (https://github.com/RhodiumToad/ip4r) over the built-in types. You might find that they work better for you. -- Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql