Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 0F33A1337B69 for ; Wed, 9 Mar 2011 16:55:53 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 29054-03 for ; Wed, 9 Mar 2011 20:55:45 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-yw0-f46.google.com (mail-yw0-f46.google.com [209.85.213.46]) by mail.postgresql.org (Postfix) with ESMTP id 4790D1337BC4 for ; Wed, 9 Mar 2011 16:55:45 -0400 (AST) Received: by ywj3 with SMTP id 3so388632ywj.19 for ; Wed, 09 Mar 2011 12:55:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=+BADk/SZAKq/FSvp9OEhtTfD/Qr9+ZMm4Tw5vP7jQvU=; b=b8j6LKghqCozR9stwQP6uRjwfD+JBOgdE5mW0pQWAmDkKnensdRWgggOtyF/cHJo8r YYdSJH9ZLr3db+DEGn/u5IrGOzLTAzCNYCTH6X2Exbtf/ufDIkQjvALrecrvDDKJ9BSj JnmAaYkCkLnFkjFZX5CKMuzAu9IwxiTn02LF8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=H0j2WByejd8L7k7KY5KFRTQOBqcdDg+l8f/SscVGuVOiioNUupBL+7Qp1gYG5vPZe3 X5KrdCrrucZ2Y0GK1r8admYo/HrXZQtkStj+rPFrzo/wU0K8JDmf8vJxV+M7BkODulQS FRNFCSKCF6Cm2TtoZyqm4vwwreLp4+h2GLDbU= MIME-Version: 1.0 Received: by 10.150.244.3 with SMTP id r3mr8135801ybh.353.1299704143424; Wed, 09 Mar 2011 12:55:43 -0800 (PST) Received: by 10.150.144.11 with HTTP; Wed, 9 Mar 2011 12:55:43 -0800 (PST) In-Reply-To: References: <201102161058.p1GAwS5V009535@wwwmaster.postgresql.org> <25122.1297870318@sss.pgh.pa.us> Date: Wed, 9 Mar 2011 15:55:43 -0500 Message-ID: Subject: Re: BUG #5889: "Intersects" for polygons broken From: Robert Haas To: Konrad Garus Cc: Tom Lane , pgsql-bugs@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-5 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7 X-Spam-Level: X-Archive-Number: 201103/169 X-Sequence-Number: 29679 On Tue, Mar 8, 2011 at 3:20 PM, Konrad Garus wrote: > http://www.postgresql.org/docs/current/static/functions-geometry.html > > I wish it explained what arguments each of the operators accepts, and > whether any automatic conversions take place (like polygon to box in > that 8.3 issue). > > What happens when I call ?# or ?- on a polygon and point? Two points? Open path? > > Some of these are obvious, but others not so much. Hmm, yeah. That looks like it could be improved. It's certainly not obvious to me what box * point means, for example, even though the description says scaling/rotation. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company