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 18:22:16 +0000
Message-ID: <E1p5WOV-003a0T-Pi@gemulon.postgresql.org> (raw)

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

Convert bit_in, varbit_in, inet_in, cidr_in, macaddr_in, and
macaddr8_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/17407a8eaa2afa8ac0de4b0a494f33d8eb7a98bd

Modified Files
--------------
src/backend/utils/adt/mac.c            |  5 +--
src/backend/utils/adt/mac8.c           | 65 +++++++++++++++-------------------
src/backend/utils/adt/network.c        | 14 ++++----
src/backend/utils/adt/varbit.c         | 20 +++++------
src/test/regress/expected/bit.out      | 61 +++++++++++++++++++++++++++++++
src/test/regress/expected/inet.out     | 37 +++++++++++++++++++
src/test/regress/expected/macaddr.out  | 25 +++++++++++++
src/test/regress/expected/macaddr8.out | 25 +++++++++++++
src/test/regress/sql/bit.sql           | 13 +++++++
src/test/regress/sql/inet.sql          |  9 +++++
src/test/regress/sql/macaddr.sql       |  6 ++++
src/test/regress/sql/macaddr8.sql      |  6 ++++
12 files changed, 230 insertions(+), 56 deletions(-)



view thread (4+ messages)  latest in thread

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