pgsql: Make cast function from circle to polygon error safe
| От | Peter Eisentraut |
|---|---|
| Тема | pgsql: Make cast function from circle to polygon error safe |
| Дата | |
| Msg-id | E1w76zH-0027Ge-2u@gemulon.postgresql.org обсуждение исходный текст |
| Список | pgsql-committers |
Make cast function from circle to polygon error safe Previously, the function casting type circle to type polygon could not be made error safe, because it is an SQL language function. This refactors it as a C/internal function, by sharing code with the C/internal function that the SQL function previously wrapped, and soft error support is added. Author: jian he <jian.universality@gmail.com> Reviewed-by: Amul Sul <sulamul@gmail.com> Reviewed-by: Corey Huinker <corey.huinker@gmail.com> Discussion: Discussion: https://www.postgresql.org/message-id/flat/CADkLM%3Dfv1JfY4Ufa-jcwwNbjQixNViskQ8jZu3Tz_p656i_4hQ%40mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/26f9012beecf36bcffc5a2081c7e698d3ecf6aa2 Modified Files -------------- src/backend/catalog/system_functions.sql | 6 ---- src/backend/utils/adt/geo_ops.c | 59 +++++++++++++++++++++++++------- src/include/catalog/catversion.h | 2 +- src/include/catalog/pg_proc.dat | 4 +-- 4 files changed, 49 insertions(+), 22 deletions(-)
В списке pgsql-committers по дате отправления: