Re: Bad behaviour on some geometric operations on degenerate polygons - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Bad behaviour on some geometric operations on degenerate polygons
Date
Msg-id 1550.1392440409@sss.pgh.pa.us
Whole thread Raw
In response to Re: Bad behaviour on some geometric operations on degenerate polygons  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Bad behaviour on some geometric operations on degenerate polygons
List pgsql-bugs
Bruce Momjian <bruce@momjian.us> 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

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Bad behaviour on some geometric operations on degenerate polygons
Next
From: Bruce Momjian
Date:
Subject: Re: Bad behaviour on some geometric operations on degenerate polygons