Обсуждение: pgsql: Convert a few more datatype input functions to report errors sof

Поиск
Список
Период
Сортировка

pgsql: Convert a few more datatype input functions to report errors sof

От
Tom Lane
Дата:
Convert a few more datatype input functions to report errors softly.

Convert cash_in and uuid_in to the new style.

Amul Sul, minor mods by me

Discussion: https://postgr.es/m/CAAJ_b97KeDWUdpTKGOaFYPv0OicjOu6EW+QYWj-Ywrgj_aEy1g@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/90161dad4dd719f44255474f4471af916f2a28f0

Modified Files
--------------
src/backend/utils/adt/cash.c        | 11 ++++++-----
src/backend/utils/adt/uuid.c        |  8 ++++----
src/test/regress/expected/money.out | 25 +++++++++++++++++++++++++
src/test/regress/expected/uuid.out  | 13 +++++++++++++
src/test/regress/sql/money.sql      |  6 ++++++
src/test/regress/sql/uuid.sql       |  4 ++++
6 files changed, 58 insertions(+), 9 deletions(-)