diff options
author | Matt Tyson <mtyson@redhat.com> | 2015-03-20 15:55:07 +0800 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-03-20 15:55:07 +0800 |
commit | 485ad42eb9f1ca77e1ea53b8c4dadd2375dd4522 (patch) | |
tree | 012507e5ded8a089189f6a3879f31dbf9adc2bcc /Bugzilla | |
parent | 5813ef51d636c8e2bb94a6c75b6dec9b84a147e1 (diff) | |
download | bugs-485ad42eb9f1ca77e1ea53b8c4dadd2375dd4522.tar bugs-485ad42eb9f1ca77e1ea53b8c4dadd2375dd4522.tar.gz bugs-485ad42eb9f1ca77e1ea53b8c4dadd2375dd4522.tar.bz2 bugs-485ad42eb9f1ca77e1ea53b8c4dadd2375dd4522.tar.xz bugs-485ad42eb9f1ca77e1ea53b8c4dadd2375dd4522.zip |
Bug 1145459: SQL error under postgres when using 'blocks' column in buglist.cgi
r=glob,a=glob
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/DB/Pg.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/DB/Pg.pm b/Bugzilla/DB/Pg.pm index 4ec95725d..47d43a4fe 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 { |