]> granicus.if.org Git - postgresql/commit
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:42 +0000 (18:18 -0400)
commitc606f10ff832fc54258bb8a259a8e0daa46468ee
treefe12ccbde96e145972f7a8088e883b63df695156
parent9207a64e1496d9be8b7f33f2ac30052c130c61c3
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