pgsql: Add a couple more tests for interval input decoding.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add a couple more tests for interval input decoding.
Date: 2022-04-02 17:50:21
Message-ID: E1nahtF-00011M-8r@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1b208ebaf14e668a24c78ee42cf805431cd0f591

Modified Files
--------------
src/test/regress/expected/interval.out | 20 ++++++++++++++++++++
src/test/regress/sql/interval.sql | 12 ++++++++++++
2 files changed, 32 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Geoghegan 2022-04-02 19:30:02 pgsql: Doc: Clarify the role of aggressive VACUUMs.
Previous Message Peter Geoghegan 2022-04-02 17:34:01 pgsql: vacuumlazy.c: Clean up variable declarations.