summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Tyson <mtyson@redhat.com>2015-03-20 08:54:15 +0100
committerByron Jones <glob@mozilla.com>2015-03-20 08:54:15 +0100
commit4aa14852570cd060eb0f71760d7f9d82f8bbabc0 (patch)
tree4af2d2711f10c7d556a8da23076fec1ffb1ca22b
parent377de9b5fa9fdbe9abbb9a8a1606e3e4eb6cf16f (diff)
downloadbugzilla-4aa14852570cd060eb0f71760d7f9d82f8bbabc0.tar.gz
bugzilla-4aa14852570cd060eb0f71760d7f9d82f8bbabc0.tar.xz
Bug 1145459: SQL error under postgres when using 'blocks' column in buglist.cgi
r=glob,a=glob
-rw-r--r--Bugzilla/DB/Pg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/DB/Pg.pm b/Bugzilla/DB/Pg.pm
index 37f06c354..2ef0c4f5a 100644
--- a/Bugzilla/DB/Pg.pm
+++ b/Bugzilla/DB/Pg.pm
@@ -107,7 +107,7 @@ sub sql_group_concat {
return "ARRAY_TO_STRING(ARRAY_AGG($text$order_by), $separator)";
}
- return "STRING_AGG($text, $separator$order_by)";
+ return "STRING_AGG(${text}::text, $separator${order_by}::text)"
}
sub sql_istring {