Documentation vs. allowed circle input formats
Documentation vs. allowed circle input formats
От:
James Robinson <james@jlr-photo.com>
Дата:
PG 11.3 docs state that
'(x, y), r'
is a supported circle input format, but is not in reality:
# select '<(15, 15), 5>'::circle;
circle
-------------
<(15,15),5>
(1 row)
# select '((15, 15), 5)'::circle;
circle
-------------
<(15,15),5>
(1 row)
# select '15, 15, 5'::circle;
circle
-------------
<(15,15),5>
(1 row)
# select '(15, 15), 5'::circle;
ERROR: invalid input syntax for type circle: "(15, 15), 5"
LINE 1: select '(15, 15), 5'::circle;
I could produce a patch for either the documentation or the input function at the pleasure of a committer.