]> git.decadent.org.uk Git - dak.git/commitdiff
update2
authorJoerg Jaspert <joerg@debian.org>
Sun, 18 Jan 2009 16:17:23 +0000 (17:17 +0100)
committerJoerg Jaspert <joerg@debian.org>
Sun, 18 Jan 2009 16:17:23 +0000 (17:17 +0100)
might actually be helpful to create plperl if one wants perl, not sql. brrr

Signed-off-by: Joerg Jaspert <joerg@debian.org>
dak/dakdb/update2.py

index 12fe4f17ba691e412dbd1ee5852f753bec0fb35f..91fbe4f1f4b3a326901ce21162fa79bb014d3c15 100755 (executable)
@@ -36,7 +36,7 @@ def do_update(self):
         c = self.db.cursor()
 
         print "Enabling PL/Perl language"
-        c.execute("CREATE LANGUAGE plpgsql;")
+        c.execute("CREATE LANGUAGE plperl;")
 
         print "Adding debversion type to database."