Commit 41a194f
committed
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.ca1 parent 75848bc commit 41a194f
File tree
3 files changed
+16
-13
lines changed- src
- backend/utils/adt
- test/regress
- expected
- sql
3 files changed
+16
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4604 | 4604 | | |
4605 | 4605 | | |
4606 | 4606 | | |
4607 | | - | |
4608 | | - | |
| 4607 | + | |
| 4608 | + | |
4609 | 4609 | | |
4610 | 4610 | | |
4611 | 4611 | | |
| |||
4619 | 4619 | | |
4620 | 4620 | | |
4621 | 4621 | | |
4622 | | - | |
| 4622 | + | |
| 4623 | + | |
| 4624 | + | |
4623 | 4625 | | |
4624 | | - | |
| 4626 | + | |
4625 | 4627 | | |
4626 | 4628 | | |
4627 | 4629 | | |
4628 | 4630 | | |
4629 | | - | |
| 4631 | + | |
4630 | 4632 | | |
4631 | 4633 | | |
| 4634 | + | |
4632 | 4635 | | |
4633 | 4636 | | |
4634 | 4637 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments