Blame SOURCES/DBD-Pg-3.7.4-Don-t-try-to-silence-ERRORs-in-test.patch

013f5e
From 5c5269ef7e9c3db2d6090c411e5aa71fffdc4c04 Mon Sep 17 00:00:00 2001
013f5e
From: Dagfinn Ilmari Mannsaker <ilmari@sid.internal>
013f5e
Date: Tue, 9 Apr 2019 17:49:10 +0100
013f5e
Subject: [PATCH] Don't try to silence ERRORs in test
013f5e
MIME-Version: 1.0
013f5e
Content-Type: text/plain; charset=UTF-8
013f5e
Content-Transfer-Encoding: 8bit
013f5e
013f5e
PostrgreSQL 12 no longer allows setting client_min_messages='FATAL',
013f5e
and ERROR is sufficient in this case anyway.
013f5e
013f5e
Signed-off-by: Petr Písař <ppisar@redhat.com>
013f5e
---
013f5e
 t/04misc.t | 2 +-
013f5e
 1 file changed, 1 insertion(+), 1 deletion(-)
013f5e
013f5e
diff --git a/t/04misc.t b/t/04misc.t
013f5e
index f739f8a..21b9261 100644
013f5e
--- a/t/04misc.t
013f5e
+++ b/t/04misc.t
013f5e
@@ -113,7 +113,7 @@ $BC$
013f5e
 
013f5e
 	is( $sth->err, undef, q{Statement attribute 'err' is initially undef});
013f5e
 
013f5e
-	$dbh->do(q{SET client_min_messages = 'FATAL'});
013f5e
+	$dbh->do(q{SET client_min_messages = 'ERROR'});
013f5e
 
013f5e
   TODO: {
013f5e
 		local $TODO = q{Known bug: notice and warnings should set err to 6};
013f5e
-- 
013f5e
2.21.0
013f5e