From 75d9c03a4e85f32871848e9da5f3ab723cdde5b8 Mon Sep 17 00:00:00 2001 From: Yorhel Date: Wed, 15 Jul 2009 09:34:31 +0000 Subject: Don't use pg_enable_utf8 in connect This is something that should be specified in the dsn argument, as it's application-specific. --- lib/POE/Component/Pg.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/POE/Component') diff --git a/lib/POE/Component/Pg.pm b/lib/POE/Component/Pg.pm index f6018d6..4a02caa 100644 --- a/lib/POE/Component/Pg.pm +++ b/lib/POE/Component/Pg.pm @@ -141,7 +141,7 @@ sub connect { $_[HEAP]{dbi}->disconnect if $_[HEAP]{dbi}; $_[HEAP]{dbi} = DBI->connect( @args{qw|dsn user password|}, - { RaiseError => 1, PrintError => 0, AutoCommit => 1, pg_enable_utf8 => 1 }, + { RaiseError => 1, PrintError => 0, AutoCommit => 1 }, ); }; if($@) { -- cgit v1.2.3