From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Provide plpgsql tests for cases involving record field changes.
Date: Thu, 26 Jul 2018 22:18:59 +0000
Message-ID: <E1fiob5-00086J-QP@gemulon.postgresql.org> (raw)
Provide plpgsql tests for cases involving record field changes.
We suppressed one of these test cases in commit feb1cc559 because
it was failing to produce the expected results on CLOBBER_CACHE_ALWAYS
buildfarm members. But now we need another test with similar behavior,
so let's set up a test file that is expected to vary between regular and
CLOBBER_CACHE_ALWAYS cases, and provide variant expected files.
Someday we should fix plpgsql's failure for change-of-field-type, and
then the discrepancy will go away and we can fold these tests back
into plpgsql_record.sql. But today is not that day.
Discussion: https://postgr.es/m/87wotkfju1.fsf@news-spur.riddles.org.uk
Branch
------
REL_11_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/c606f10ff832fc54258bb8a259a8e0daa46468ee
Modified Files
--------------
src/pl/plpgsql/src/Makefile | 2 +-
src/pl/plpgsql/src/expected/plpgsql_cache.out | 67 +++++++++++++++++++++++
src/pl/plpgsql/src/expected/plpgsql_cache_1.out | 72 +++++++++++++++++++++++++
src/pl/plpgsql/src/expected/plpgsql_record.out | 16 +-----
src/pl/plpgsql/src/sql/plpgsql_cache.sql | 50 +++++++++++++++++
src/pl/plpgsql/src/sql/plpgsql_record.sql | 13 +----
6 files changed, 194 insertions(+), 26 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Provide plpgsql tests for cases involving record field changes.
In-Reply-To: <E1fiob5-00086J-QP@gemulon.postgresql.org>
References: <E1fiob5-00086J-QP@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox