Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WEXMR-0008AG-QE for pgsql-bugs@arkaria.postgresql.org; Sat, 15 Feb 2014 05:00:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WEXMR-0002Ly-AJ for pgsql-bugs@arkaria.postgresql.org; Sat, 15 Feb 2014 05:00:19 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WEXMQ-0002Lk-Lf for pgsql-bugs@postgresql.org; Sat, 15 Feb 2014 05:00:18 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WEXMO-0007BX-II for pgsql-bugs@postgresql.org; Sat, 15 Feb 2014 05:00:18 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s1F5090t001551; Sat, 15 Feb 2014 00:00:09 -0500 From: Tom Lane To: Bruce Momjian cc: Josef Grahn , pgsql-bugs@postgresql.org Subject: Re: Bad behaviour on some geometric operations on degenerate polygons In-reply-to: <20140215045525.GC15047@momjian.us> References: <20140215045525.GC15047@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Fri, 14 Feb 2014 23:55:25 -0500" Date: Sat, 15 Feb 2014 00:00:09 -0500 Message-ID: <1550.1392440409@sss.pgh.pa.us> X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Bruce Momjian writes: > What is odd however, is that we allow _explicit_ creation of zero-radius > circles: > test=> SELECT circle '<(1,1),0>'; > circle > ----------- > <(1,1),0> > (1 row) > so why do we prevent the conversion of single-point polygons to circles > with zero radius? I don't know. Maybe we should rethink that. What you've done here seems like a kluge. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs