Provide plpgsql tests for cases involving record field changes.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 26 Jul 2018 22:18:37 +0000 (18:18 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 26 Jul 2018 22:18:37 +0000 (18:18 -0400)
commit9f77ad2672f1be0c475428db7bf52b572af3c65f
treed9c9a8c8369d19aecb2c722410f0c9f3afbcc604
parent662d12aea1d697adc4896ff7e5d5cf398c0cd267
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
src/pl/plpgsql/src/Makefile
src/pl/plpgsql/src/expected/plpgsql_cache.out [new file with mode: 0644]
src/pl/plpgsql/src/expected/plpgsql_cache_1.out [new file with mode: 0644]
src/pl/plpgsql/src/expected/plpgsql_record.out
src/pl/plpgsql/src/sql/plpgsql_cache.sql [new file with mode: 0644]
src/pl/plpgsql/src/sql/plpgsql_record.sql