[vhffs-dev] [618] Fixed a bug that prevented PG database managment when server wasn' t localhost.

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


Revision: 618
Author:   beuss
Date:     2007-05-20 17:38:44 +0000 (Sun, 20 May 2007)

Log Message:
-----------
Fixed a bug that prevented PG database managment when server wasn't localhost.

Modified Paths:
--------------
    branches/vhffs-design/vhffs-api/src/Vhffs/Robots/Postgres.pm


Modified: branches/vhffs-design/vhffs-api/src/Vhffs/Robots/Postgres.pm
===================================================================
--- branches/vhffs-design/vhffs-api/src/Vhffs/Robots/Postgres.pm	2007-05-19 14:03:06 UTC (rev 617)
+++ branches/vhffs-design/vhffs-api/src/Vhffs/Robots/Postgres.pm	2007-05-20 17:38:44 UTC (rev 618)
@@ -110,7 +110,7 @@
    }
    else
    {
-    $dbi = DBI->connect( "DBI:Pg:dbhost=$dbhost",$dbuser,$dbpass ) or return -1;
+    $dbi = DBI->connect( "DBI:Pg:host=$dbhost",$dbuser,$dbpass ) or return -1;
    }
 
     return $dbi;


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