summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Test/PostgreSQL.pm17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/Test/PostgreSQL.pm b/lib/Test/PostgreSQL.pm
index 4195938..8ca619e 100644
--- a/lib/Test/PostgreSQL.pm
+++ b/lib/Test/PostgreSQL.pm
@@ -16,23 +16,6 @@ use User::pwent;
our $VERSION = '1.28';
our $errstr;
-# Deprecate use of %Defaults as we want to remove this package global
-use Tie::Hash::Method;
-tie our %Defaults, 'Tie::Hash::Method', FETCH => sub {
- my $msg = "\nWARNING: using \$Test::PostgreSQL::Defaults is DEPRECATED.";
- if ( $_[1] =~ /^(initdb|postmaster)_args$/ ) {
- $msg .= " Use Test::PostgreSQL->new( extra_$_[1] => ... ) instead.";
- }
- warn $msg;
- return $_[0]->base_hash->{ $_[1] };
- };
-
-%Defaults = (
- auto_start => 2,
- initdb_args => '-U postgres -A trust',
- postmaster_args => '-h 127.0.0.1 -F',
-);
-
has dbname => (
is => 'ro',
isa => Str,