Bug 1145459: SQL error under postgres when using 'blocks' column in buglist.cgi

r=glob,a=glob


git-svn-id: svn://10.0.0.236/trunk@265890 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzrmirror%bugzilla.org 2015-03-20 08:01:40 +00:00
parent 8b51ec5ed7
commit 265f413efb
3 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
9345 9346

View File

@ -1 +1 @@
377de9b5fa9fdbe9abbb9a8a1606e3e4eb6cf16f 4aa14852570cd060eb0f71760d7f9d82f8bbabc0

View File

@ -107,7 +107,7 @@ sub sql_group_concat {
return "ARRAY_TO_STRING(ARRAY_AGG($text$order_by), $separator)"; 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 { sub sql_istring {