Commit 485ad42e authored by Matt Tyson's avatar Matt Tyson Committed by Byron Jones

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

r=glob,a=glob
parent 5813ef51
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment