]> git.decadent.org.uk Git - dak.git/commitdiff
Merge remote-tracking branch 'ansgar/pu/multiarchive-2'
authorJoerg Jaspert <joerg@debian.org>
Sun, 12 Aug 2012 12:49:21 +0000 (14:49 +0200)
committerJoerg Jaspert <joerg@debian.org>
Sun, 12 Aug 2012 12:49:21 +0000 (14:49 +0200)
* ansgar/pu/multiarchive-2:
  dak/dakdb/update79.py: Use || operator instead of CONCAT to make postgresql 9.0 happy

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

index 67ad01a63cea6ed39be73bf56b95e34b02ca080f..954f393d45858cc52e34f87529abda1d71fc53cd 100644 (file)
@@ -47,7 +47,7 @@ def do_update(self):
             CREATE OR REPLACE VIEW world."files-1" AS
               SELECT
                 files.id AS id,
-                CONCAT(component.name, '/', files.filename) AS filename,
+                component.name || '/' || files.filename AS filename,
                 files.size AS size,
                 files.md5sum AS md5sum,
                 files.sha1sum AS sha1sum,