From: Tom Lane Date: Wed, 14 Feb 2018 23:42:14 +0000 (-0500) Subject: Revert "Stabilize output of new regression test case". X-Git-Tag: REL_11_BETA1~777 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cbadba8dd632fc0d4162f7d686fec631bce7dfd0;p=postgresql Revert "Stabilize output of new regression test case". This effectively reverts commit 9edc97b71 (although the test is now in a different place and has different contents). We don't need that hack anymore, because since commit 4b93f5799, this test case no longer throws an error and so there's no displayed CONTEXT that could vary depending on CLOBBER_CACHE_ALWAYS. The underlying unstable-output problem isn't really gone, of course, but it no longer manifests here. --- diff --git a/src/pl/plpgsql/src/expected/plpgsql_varprops.out b/src/pl/plpgsql/src/expected/plpgsql_varprops.out index 109056c054..18f03d75b4 100644 --- a/src/pl/plpgsql/src/expected/plpgsql_varprops.out +++ b/src/pl/plpgsql/src/expected/plpgsql_varprops.out @@ -176,7 +176,6 @@ end$$; ERROR: null value cannot be assigned to variable "x" declared NOT NULL CONTEXT: PL/pgSQL function inline_code_block line 3 during statement block local variable initialization -- Check that variables are reinitialized on block re-entry. -\set VERBOSITY terse \\ -- needed for output stability do $$ begin for i in 1..3 loop @@ -210,7 +209,6 @@ NOTICE: x = NOTICE: y = 3 NOTICE: r = NOTICE: c = -\set VERBOSITY default -- Check enforcement of domain constraints during initialization do $$ declare x int_nn; -- fail diff --git a/src/pl/plpgsql/src/sql/plpgsql_varprops.sql b/src/pl/plpgsql/src/sql/plpgsql_varprops.sql index c0e7f95f4e..778119d223 100644 --- a/src/pl/plpgsql/src/sql/plpgsql_varprops.sql +++ b/src/pl/plpgsql/src/sql/plpgsql_varprops.sql @@ -151,7 +151,6 @@ end$$; -- Check that variables are reinitialized on block re-entry. -\set VERBOSITY terse \\ -- needed for output stability do $$ begin for i in 1..3 loop @@ -173,7 +172,6 @@ begin end; end loop; end$$; -\set VERBOSITY default -- Check enforcement of domain constraints during initialization