Convert hstore_in to report errors softly.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 197f98a848233f2d8d8e7f7fd7dde3e49adaaaa3
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2022-12-27T19:50:56Z
Releases: 16.0
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

Files

PathChange+/−
contrib/hstore/expected/hstore.out modified +34 −0
contrib/hstore/hstore_io.c modified +88 −28
contrib/hstore/sql/hstore.sql modified +11 −0

Discussion