diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2022-12-14 16:10:20 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2022-12-14 16:10:20 -0500 |
commit | 332741e73980401895e027eb697bb472860036fb (patch) | |
tree | b752539838c2cf3f8a856ab5100f2f043440ac91 /src/backend/utils/adt/acl.c | |
parent | 17407a8eaa2afa8ac0de4b0a494f33d8eb7a98bd (diff) | |
download | postgresql-332741e73980401895e027eb697bb472860036fb.tar.gz postgresql-332741e73980401895e027eb697bb472860036fb.zip |
Convert the geometric input functions to report errors softly.
Convert box_in, circle_in, line_in, lseg_in, path_in, point_in,
and poly_in to the new style.
line_in still throws hard errors for overflows/underflows that can occur
when the input is specified as two points rather than in the canonical
"Ax + By + C = 0" style. I'm not too concerned about that: it won't be
reached in normal dump/restore cases, and it's fairly debatable that
such conversion should ever have been made part of a type input function
in the first place. But in any case, I don't want to extend the soft
error conventions into float.h without more discussion than this patch
has had.
Amul Sul, minor mods by me
Discussion: https://postgr.es/m/CAAJ_b97KeDWUdpTKGOaFYPv0OicjOu6EW+QYWj-Ywrgj_aEy1g@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/acl.c')
0 files changed, 0 insertions, 0 deletions