From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.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: Sat, 15 Feb 2014 00:00:09 -0500
Message-ID: <1550.1392440409@sss.pgh.pa.us> (raw)
In-Reply-To: <20140215045525.GC15047@momjian.us>
References: <CAMBOBOmnoquwMuEiNABC_BKmHuNiW=6DQybZvM2SQUS=S5TT4g@mail.gmail.com>
<20140215045525.GC15047@momjian.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
--
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: tgl@sss.pgh.pa.us, bruce@momjian.us, josef.grahn@gmail.com
Subject: Re: Bad behaviour on some geometric operations on degenerate polygons
In-Reply-To: <1550.1392440409@sss.pgh.pa.us>
References: <CAMBOBOmnoquwMuEiNABC_BKmHuNiW=6DQybZvM2SQUS=S5TT4g@mail.gmail.com> <20140215045525.GC15047@momjian.us> <1550.1392440409@sss.pgh.pa.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