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

Started by Tom Laneover 3 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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: /messages/by-id/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(-)