Bug#723928: FTBFS: Failed test 'DB handle attribute "PrintWarn" shows warnings when on'

Christoph Berg myon at debian.org
Wed Sep 25 15:05:15 UTC 2013


> Same here.
> PostgreSQL 9.3, maybe?

It's a 9.3 problem, yes.

Upstream git already has a patch:

commit accf9a11bab7de2d11a36bdaa01e2e438dd33104
Author: Erik Rijkers <er at xs4all.nl>
Date:   Fri May 17 22:09:41 2013 -0400

    Use DEBUG1 for the PrintWarn test, as Postgres got less chatty in 9.3

diff --git a/Changes b/Changes
index 76632dd..20395a7 100644
--- a/Changes
+++ b/Changes
@@ -16,6 +16,9 @@ Version ???
 
   - Better wording for the AutoCommit docs (CPAN bug #82536)
 
+  - Change NOTICE to DEBUG1 in t/02attribs.t test for handle attribute "PrintWarn":
+    implicit index creation is now quieter in Postgres [Erik Rijkers]
+
 Version 2.19.3  Released August 21, 2012 (git commit be018f10fdaf4163f98affcb7244046e8f47420d)
 
   - Fix bug in pg_st_split_statement causing segfaults
diff --git a/t/02attribs.t b/t/02attribs.t
index e98add9..197d962 100644
--- a/t/02attribs.t
+++ b/t/02attribs.t
@@ -251,7 +251,7 @@ is ($value, 1, $t);
 
 local $SIG{__WARN__} = sub { $warning = shift; };
 
-$dbh->do(q{SET client_min_messages = 'NOTICE'});
+$dbh->do(q{SET client_min_messages = 'DEBUG1'});
 $t='DB handle attribute "PrintWarn" works when on';
 $warning = q{};
 eval {


Christoph
-- 
cb at df7cb.de | http://www.df7cb.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20130925/2a642f75/attachment.sig>


More information about the pkg-perl-maintainers mailing list