git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 5d79fc6) | patch
Fix circle_in to accept "(x,y),r" as it's advertised to do.
Wed, 8 Apr 2020 00:50:02 +0000 (20:50 -0400)
Wed, 8 Apr 2020 00:50:02 +0000 (20:50 -0400)
commit 5fae6641015578538111c8c0515fa62c4b68f1ae
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
src/backend/utils/adt/geo_ops.c diff | blob | blame | history
src/test/regress/expected/circle.out diff | blob | blame | history
src/test/regress/sql/circle.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /