From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix circle_in to accept "(x,y),r" as it's advertised to do.
Date: Wed, 08 Apr 2020 00:50:46 +0000
Message-ID: <E1jLyvW-0002hK-Ix@gemulon.postgresql.org> (raw)
Fix circle_in to accept "(x,y),r" as it's advertised to do.
Our documentation describes four allowed input syntaxes for circles,
but the regression tests tried only three ... with predictable
consequences. Remarkably, this has been wrong since the circle
datatype was added in 1997, but nobody noticed till now.
David Zhang, with some help from me
Discussion: https://postgr.es/m/332c47fa-d951-7574-b5cc-a8f7f7201202@highgo.ca
Branch
------
REL_11_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/5fae6641015578538111c8c0515fa62c4b68f1ae
Modified Files
--------------
src/backend/utils/adt/geo_ops.c | 13 ++++++++-----
src/test/regress/expected/circle.out | 10 +++++-----
src/test/regress/sql/circle.sql | 10 +++++-----
3 files changed, 18 insertions(+), 15 deletions(-)
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-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Fix circle_in to accept "(x,y),r" as it's advertised to do.
In-Reply-To: <E1jLyvW-0002hK-Ix@gemulon.postgresql.org>
References: <E1jLyvW-0002hK-Ix@gemulon.postgresql.org>
* 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