Add a couple more tests for interval input decoding.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 2 Apr 2022 17:49:39 +0000 (13:49 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 2 Apr 2022 17:50:05 +0000 (13:50 -0400)
commit1b208ebaf14e668a24c78ee42cf805431cd0f591
treef9dc018c6cbec0a708b67ef66057786c13b9463a
parent14bf1e831356770cc61a5f43b9b816f0c0583f2b
Add a couple more tests for interval input decoding.

Cover some cases that would have been broken by a proposed patch,
but we failed to notice for lack of test coverage.  I'm pushing
this separately mainly to memorialize that it *is* our historical
behavior.

Discussion: https://postgr.es/m/1344498.1648920056@sss.pgh.pa.us
src/test/regress/expected/interval.out
src/test/regress/sql/interval.sql