Add a couple more tests for interval input decoding.
Tom Lane <tgl@sss.pgh.pa.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/test/regress/expected/interval.out | modified | +20 −0 |
| src/test/regress/sql/interval.sql | modified | +12 −0 |
Discussion
- Fix overflow in DecodeInterval 42 messages · 2022-02-11 → 2022-04-03