summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-07-15 09:34:31 +0000
committerYorhel <git@yorhel.nl>2009-07-15 09:34:31 +0000
commit75d9c03a4e85f32871848e9da5f3ab723cdde5b8 (patch)
tree23d9c39897fc1680ec506115ed055878ce3c16a0
parent142104a59cc17b3de062dfd88922640d03883d56 (diff)
Don't use pg_enable_utf8 in connect
This is something that should be specified in the dsn argument, as it's application-specific.
-rw-r--r--lib/POE/Component/Pg.pm2
1 files changed, 1 insertions, 1 deletions
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($@) {