Fix back-patch of commit 8e3b4d9d40244c037bbc6e182ea3fabb9347d482.
authorNoah Misch
Tue, 20 Oct 2015 04:57:25 +0000 (00:57 -0400)
committerNoah Misch
Tue, 20 Oct 2015 04:58:40 +0000 (00:58 -0400)
master emits an extra context message compared to 9.5 and earlier.

src/test/regress/expected/plpgsql.out

index b2cd59c88b971561af55a472bb7f8fd3fafc01dc..96c1cfbeb808ff95861e662e5fd99c9f7c77b5d7 100644 (file)
@@ -2062,7 +2062,6 @@ set statement_timeout to 2000;
 select trap_timeout();
 NOTICE:  nyeah nyeah, can't stop me
 ERROR:  end of function
-CONTEXT:  PL/pgSQL function trap_timeout() line 15 at RAISE
 rollback;
 -- Test for pass-by-ref values being stored in proper context
 create function test_variable_storage() returns text as $$