]> git.sesse.net Git - ccbs/commitdiff
Switch SQL host from cirkus to altersex, to get PostgreSQL 7.4
authorSteinar H. Gunderson <sesse@samfundet.no>
Fri, 18 Feb 2005 18:04:20 +0000 (18:04 +0000)
committerSteinar H. Gunderson <sesse@samfundet.no>
Fri, 18 Feb 2005 18:04:20 +0000 (18:04 +0000)
bigscreen/ccbs_bigscreen.cpp
html/ccbs.pm

index 71bd966cc1aad8e61c331feaa313605db5713634..03a94962ddab87ff4c0fe0200ed8154bfe7649bb 100644 (file)
@@ -25,7 +25,7 @@ int main(int argc, char **argv)
 {
        GLWindow glw("CCBS bigscreen", 800, 600, 32, false, 16, -1);
        try {
-               pqxx::connection conn("dbname=ccbs host=sql.samfundet.no user=ccbs password=GeT|>>B_");
+               pqxx::connection conn("dbname=ccbs host=altersex.samfundet.no user=ccbs password=GeT|>>B_");
                ExitTrigger et(conn, "bs_tournament_changed");
                
                sleep(1);
index faaae89818203b945cf2641cff11533879416ddb..21a19a80216fd4a5246d5975db7ccacdf292961b 100755 (executable)
@@ -22,7 +22,7 @@ sub print_see_other {
 sub db_connect {
        $ccbs_dbdebug = defined(shift) ? 1 : 0;
 
-       my $dbh = DBI->connect("dbi:Pg:dbname=ccbs;host=sql.samfundet.no", "ccbs", "GeT|>>B_")
+       my $dbh = DBI->connect("dbi:Pg:dbname=ccbs;host=altersex.samfundet.no", "ccbs", "GeT|>>B_")
                or die "Couldn't connect to database";
        $dbh->{RaiseError} = 1;
        return $dbh;