pgsql: Back-patch test cases for timetz_zone/timetz_izone. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Back-patch test cases for timetz_zone/timetz_izone.
Date
Msg-id E1qsoIZ-0012FL-08@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Back-patch test cases for timetz_zone/timetz_izone.

Per code coverage reports, we had zero regression test coverage
of these functions.  That came back to bite us, as apparently
that's allowed us to miss discovering misbehavior of this code
with AIX's xlc compiler.  Install relevant portions of the
test cases added in 97957fdba, 2f0472030, 19fa97731.

(Assuming the expected outcome that the xlc problem does appear
in back branches, a code fix will follow.)

Discussion: https://postgr.es/m/CA+hUKGK=DOC+hE-62FKfZy=Ybt5uLkrg3zCZD-jFykM-iPn8yw@mail.gmail.com

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/dc159b95d921e12e82820301413945eff1ca88b0

Modified Files
--------------
src/test/regress/expected/timetz.out | 60 ++++++++++++++++++++++++++++++++++++
src/test/regress/sql/timetz.sql      | 20 ++++++++++++
2 files changed, 80 insertions(+)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Dodge a compiler bug affecting timetz_zone/timetz_izone.
Next
From: Nathan Bossart
Date:
Subject: pgsql: windows: msvc: Define STDIN/OUT/ERR_FILENO.