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 792F4D1B2BD for ; Wed, 30 Jun 2004 00:49:17 -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 96422-08 for ; Wed, 30 Jun 2004 03:49:14 +0000 (GMT) Received: from davinci.ethosmedia.com (server228.ethosmedia.com [209.128.84.228]) by svr1.postgresql.org (Postfix) with ESMTP id 6EE15D1B252 for ; Wed, 30 Jun 2004 00:49:12 -0300 (ADT) Received: from [63.195.55.98] (HELO spooky) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 5548461; Tue, 29 Jun 2004 20:50:54 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Josh Berkus 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 20:49:06 -0700 User-Agent: KMail/1.4.3 References: <200406291652.24900.josh@agliodbs.com> In-Reply-To: <200406291652.24900.josh@agliodbs.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200406292049.06283.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200406/303 X-Sequence-Number: 18248 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) Oh, and also a SELECT VERSION(); would be nice. -- Josh Berkus Aglio Database Solutions San Francisco