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: Thu, 15 Dec 2022 00:42:11 +0000
Message-ID: <E1p5cKA-003cnh-CP@gemulon.postgresql.org> (raw)

Convert a few more datatype input functions to report errors softly.

Convert the remaining string-category input functions
(bpcharin, varcharin, byteain) to the new style.

Discussion: https://postgr.es/m/3038346.1671060258@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3b9d2deb67a0d5ee681561fc0e07c2dca4e26e96

Modified Files
--------------
src/backend/utils/adt/encode.c          | 35 +++++++++++++++++++++------------
src/backend/utils/adt/varchar.c         | 33 ++++++++++++++++++-------------
src/backend/utils/adt/varlena.c         |  8 +++++---
src/include/utils/builtins.h            |  2 ++
src/test/regress/expected/char.out      | 19 ++++++++++++++++++
src/test/regress/expected/char_1.out    | 19 ++++++++++++++++++
src/test/regress/expected/char_2.out    | 19 ++++++++++++++++++
src/test/regress/expected/strings.out   | 25 +++++++++++++++++++++++
src/test/regress/expected/varchar.out   | 19 ++++++++++++++++++
src/test/regress/expected/varchar_1.out | 19 ++++++++++++++++++
src/test/regress/expected/varchar_2.out | 19 ++++++++++++++++++
src/test/regress/sql/char.sql           |  5 +++++
src/test/regress/sql/strings.sql        |  6 ++++++
src/test/regress/sql/varchar.sql        |  5 +++++
14 files changed, 203 insertions(+), 30 deletions(-)



view thread (4+ messages)

Message-ID: <E1p5cKA-003cnh-CP@gemulon.postgresql.org>
Permalink:  ../E1p5cKA-003cnh-CP@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1p5cKA-003cnh-CP@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: <E1p5cKA-003cnh-CP@gemulon.postgresql.org>
  References: <E1p5cKA-003cnh-CP@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