X-Original-To: pgsql-sql@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 7BAA3474E61 for ; Thu, 20 Feb 2003 10:29:22 -0500 (EST) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with SMTP id 14814-08 for ; Thu, 20 Feb 2003 10:29:11 -0500 (EST) Received: from serwer.skawsoft.com.pl (serwer.skawsoft.com.pl [213.25.37.66]) by postgresql.org (Postfix) with ESMTP id AF8B8474E4F for ; Thu, 20 Feb 2003 10:29:11 -0500 (EST) Received: from klaster.net (pq250.krakow.cvx.ppp.tpnet.pl [213.76.41.250]) by serwer.skawsoft.com.pl (Postfix) with ESMTP id 4624A2B88D; Thu, 20 Feb 2003 16:19:50 +0100 (CET) Message-ID: <3E54EC58.7090605@klaster.net> Date: Thu, 20 Feb 2003 15:55:20 +0100 From: Tomasz Myrta User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; PL; rv:1.1) Gecko/20020826 X-Accept-Language: pl, en-us, en MIME-Version: 1.0 To: Scott Ding Cc: pgsql-sql@postgresql.org Subject: Re: point <-> polygon not supported? References: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new X-Archive-Number: 200302/457 X-Sequence-Number: 11855 Scott Ding wrote: > I=92m using version 7.3.2. I got the following error when I executed the= =20 > sql statement in psql: > Does this mean that the <-> operator does not support distance between a= =20 > point and a simple polygon? No. Try this query: select o.oprname,t1.typname as left, t2.typname as right from pg_operator o join pg_type t1 on (o.oprleft=3Dt1.oid) join pg_type t2 on (o.oprright=3Dt2.oid) where oprname=3D'<->'; Regards, Tomasz Myrta