Fix circle_in to accept "(x,y),r" as it's advertised to do.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 4c7a311a2df9b3b91285def8de2e1308f90e9e21
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2020-04-08T00:50:02Z
Releases: 10.13
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

Files

Discussion