]> git.decadent.org.uk Git - dak.git/commitdiff
update2
authorJoerg Jaspert <joerg@debian.org>
Sun, 18 Jan 2009 16:19:46 +0000 (17:19 +0100)
committerJoerg Jaspert <joerg@debian.org>
Sun, 18 Jan 2009 16:19:46 +0000 (17:19 +0100)
yay, we didnt even have plpgsql, but need it.

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

index 91fbe4f1f4b3a326901ce21162fa79bb014d3c15..20154b07e007ef636d6fd5cde8713cbaf48c65c3 100755 (executable)
@@ -37,6 +37,7 @@ def do_update(self):
 
         print "Enabling PL/Perl language"
         c.execute("CREATE LANGUAGE plperl;")
+        c.execute("CREATE LANGUAGE plpgsql;")
 
         print "Adding debversion type to database."