X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3BB25D1B1D0 for ; Tue, 29 Jun 2004 20:54:43 -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 02687-07 for ; Tue, 29 Jun 2004 23:53:59 +0000 (GMT) Received: from davinci.ethosmedia.com (server228.ethosmedia.com [209.128.84.228]) by svr1.postgresql.org (Postfix) with ESMTP id 79525D1B350 for ; Tue, 29 Jun 2004 20:52:51 -0300 (ADT) Received: from [64.81.245.111] (HELO 192.168.1.102) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 5546854; Tue, 29 Jun 2004 16:54:15 -0700 From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: siganos@gmail.com (George Siganos), pgsql-sql@postgresql.org Subject: Re: Question about a CIDR based query Date: Tue, 29 Jun 2004 16:52:24 -0700 User-Agent: KMail/1.5.4 References: <200406250900.08312.josh@agliodbs.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200406291652.24900.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.3 tagged_above=0.0 required=5.0 tests=RCVD_NUMERIC_HELO X-Spam-Level: X-Archive-Number: 200406/302 X-Sequence-Number: 18247 George, Um, no, I need an EXPLAIN ANALYZE, not just an EXPLAIN. Thanks. > June_03=# explain select * from tmp where route >>='62.1.1.0/24'; > QUERY PLAN > ---------------------------------------------------------------- > Seq Scan on tmp (cost=0.00..606.60 rows=14544 width=33) > Filter: (route >>= '62.1.1.0/24'::cidr) -- -Josh Berkus Aglio Database Solutions San Francisco