From: Ansgar Burchardt <ansgar@debian.org>
Date: Sun, 12 Aug 2012 12:49:01 +0000 (+0200)
Subject: dak/dakdb/update79.py: Use || operator instead of CONCAT to make postgresql 9.0 happy
X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=b02d077cedb6089764004f1409eebdd89f2283de;p=dak.git

dak/dakdb/update79.py: Use || operator instead of CONCAT to make postgresql 9.0 happy
---

diff --git a/dak/dakdb/update79.py b/dak/dakdb/update79.py
index 67ad01a6..954f393d 100644
--- a/dak/dakdb/update79.py
+++ b/dak/dakdb/update79.py
@@ -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,