[vhffs-dev] [1412] Do not specify charset on DB creation since we are restricted by the server charset in most case .

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 1412
Author:   beuss
Date:     2009-05-26 15:16:24 +0200 (Tue, 26 May 2009)

Log Message:
-----------
Do not specify charset on DB creation since we are restricted by the server charset in most case. Anyway, the charset handling have to be done on client side

Modified Paths:
--------------
    trunk/vhffs-api/src/Vhffs/Robots/Pgsql.pm


Modified: trunk/vhffs-api/src/Vhffs/Robots/Pgsql.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Robots/Pgsql.pm	2009-05-26 13:14:55 UTC (rev 1411)
+++ trunk/vhffs-api/src/Vhffs/Robots/Pgsql.pm	2009-05-26 13:16:24 UTC (rev 1412)
@@ -66,7 +66,7 @@
 	if( defined $pg )
 	{
 		$db->do('CREATE USER '.$pg->get_dbusername.' WITH PASSWORD ?', undef, $pg->get_dbpassword);
-		$db->do('CREATE DATABASE '.$pg->get_dbname.' OWNER '.$pg->get_dbusername.' ENCODING \''.$pg->get_dbencoding.'\'' );
+		$db->do('CREATE DATABASE '.$pg->get_dbname.' OWNER '.$pg->get_dbusername );
 		$pg->set_status( Vhffs::Constants::ACTIVATED );	
 		$pg->commit;
 		$pg->blank_password;


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/