From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Josef Grahn <josef.grahn@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Bad behaviour on some geometric operations on degenerate polygons
Date: Mon, 24 Feb 2014 12:24:15 -0500
Message-ID: <20140224172415.GB16943@momjian.us> (raw)
In-Reply-To: <20140215050720.GE15047@momjian.us>
References: <CAMBOBOmnoquwMuEiNABC_BKmHuNiW=6DQybZvM2SQUS=S5TT4g@mail.gmail.com>
<20140215045525.GC15047@momjian.us>
<1550.1392440409@sss.pgh.pa.us>
<20140215050720.GE15047@momjian.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On Sat, Feb 15, 2014 at 12:07:20AM -0500, Bruce Momjian wrote:
> On Sat, Feb 15, 2014 at 12:00:09AM -0500, Tom Lane wrote:
> > 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.
>
> Yes, it would be much easier to allow the zero-radius circles. The
> attached smaller patch allows all the cases to work:
Applied.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ Everyone has their own god. +
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: bruce@momjian.us, tgl@sss.pgh.pa.us, josef.grahn@gmail.com
Subject: Re: Bad behaviour on some geometric operations on degenerate polygons
In-Reply-To: <20140224172415.GB16943@momjian.us>
References: <CAMBOBOmnoquwMuEiNABC_BKmHuNiW=6DQybZvM2SQUS=S5TT4g@mail.gmail.com> <20140215045525.GC15047@momjian.us> <1550.1392440409@sss.pgh.pa.us> <20140215050720.GE15047@momjian.us> <20140224172415.GB16943@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox