pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Convert a few more datatype input functions to report errors sof
Date: Wed, 14 Dec 2022 23:03:31 +0000
Message-ID: <E1p5amg-003c6g-KC@gemulon.postgresql.org> (raw)

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(-)



view thread (4+ messages)  latest in thread

Message-ID: <E1p5amg-003c6g-KC@gemulon.postgresql.org>
Permalink:  ../E1p5amg-003c6g-KC@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1p5amg-003c6g-KC@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Convert a few more datatype input functions to report errors sof
  In-Reply-To: <E1p5amg-003c6g-KC@gemulon.postgresql.org>
  References: <E1p5amg-003c6g-KC@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox