From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fix circle_in to accept "(x,y),r" as it's advertised to do. |
Date: | 2020-04-08 00:50:46 |
Message-ID: | E1jLyvW-0002hQ-K7@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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
------
REL9_5_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/ebd194ac58f8df3620d17bc5f1824f9833794b98
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2020-04-08 01:13:51 | Re: pgsql: Allow users to limit storage reserved by replication slots |
Previous Message | Amit Kapila | 2020-04-08 00:37:23 | Re: pgsql: Implement waiting for given lsn at transaction start |