pgsql: Convert hstore_in to report errors softly.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Convert hstore_in to report errors softly.
Date: 2022-12-27 19:51:02
Message-ID: E1pAFyY-000i2s-IF@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Convert hstore_in to report errors softly.

The error reporting here was not only old and crufty, but untested.
I took the opportunity to bring the messages into some sort of
compliance with our message style guidelines.

Discussion: https://postgr.es/m/6B6A5C77-60AD-4A71-9F3A-B2C026A281A6@dunslane.net

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/197f98a848233f2d8d8e7f7fd7dde3e49adaaaa3

Modified Files
--------------
contrib/hstore/expected/hstore.out | 34 +++++++++++
contrib/hstore/hstore_io.c | 116 ++++++++++++++++++++++++++++---------
contrib/hstore/sql/hstore.sql | 11 ++++
3 files changed, 133 insertions(+), 28 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-12-27 23:08:02 pgsql: Suppress uninitialized-variable warning from a61b1f748.
Previous Message Tom Lane 2022-12-27 18:06:52 pgsql: Remove new locale dependency in regproc regression test.