Skip to content

Commit 5091898

Browse files
committed
Make WARNING the default message level for test database handles
1 parent a277536 commit 5091898

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

t/02_same_schema.t

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ eval { $dbh2->do(q{CREATE USER alternate_owner}, { RaiseError => 0, PrintError =
2626
$dbh3 = $cp3->test_database_handle();
2727
$dbh3->{AutoCommit} = 1;
2828
eval { $dbh3->do(q{CREATE USER alternate_owner}, { RaiseError => 0, PrintError => 0 }); };
29-
$dbh3->do(q{SET client_min_messages = 'WARNING'});
3029
$dbh3->do('DROP LANGUAGE IF EXISTS plperlu');
3130

3231
my $connect1 = qq{--dbuser=$cp1->{testuser} --dbhost=$cp1->{shorthost}};

t/CP_Testing.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ sub _test_database_handle {
418418
## Sanity check
419419
$dbh->do("ALTER USER $dbuser SET search_path = public");
420420
$dbh->do('SET search_path = public');
421+
$dbh->do('SET client_min_messages = WARNING');
421422
$dbh->do('COMMIT');
422423

423424
return $dbh;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy