Re: Bracket, brace, parenthesis

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: tgl@sss.pgh.pa.us, pgsql-hackers@lists.postgresql.org
Date: 2021-05-31T02:36:23Z
Lists: pgsql-hackers
On Fri, May 28, 2021 at 03:25:40PM +0900, Kyotaro Horiguchi wrote:
> Mmm. Thanks. So the test doesn't a check for the case of trailing
> garbage.  Looking the discussion about trailing garbage of integer
> values, we might need one for the case.
> 
> The atached second file adds a test for trailing garbage for
> multirangetype.sql and rangetype.sql.

True for the lack of coverage with some junk after the right brace for
multi-ranges, but rangetypes.sql has already some coverage.  Applied
with this small update.
--
Michael

Commits

  1. Improve some error wording with multirange type parsing