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 enum_in() to report errors softly.
Date: Sun, 25 Dec 2022 19:32:46 +0000
Message-ID: <E1p9Wjl-000O0q-RN@gemulon.postgresql.org> (raw)

Convert enum_in() to report errors softly.

I missed this in my initial survey, probably because I examined
the contents of pg_type in the postgres database, which lacks
any enumerated types.

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/442e25d2485b1ecf3357725acee995a1c349163d

Modified Files
--------------
src/backend/utils/adt/enum.c       | 12 +++++++++---
src/test/regress/expected/enum.out | 25 +++++++++++++++++++++++++
src/test/regress/sql/enum.sql      |  6 ++++++
3 files changed, 40 insertions(+), 3 deletions(-)



Message-ID: <E1p9Wjl-000O0q-RN@gemulon.postgresql.org>
Permalink:  ../E1p9Wjl-000O0q-RN@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1p9Wjl-000O0q-RN@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 enum_in() to report errors softly.
  In-Reply-To: <E1p9Wjl-000O0q-RN@gemulon.postgresql.org>
  References: <E1p9Wjl-000O0q-RN@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