Websites/perf.webkit.org/ChangeLog

 12021-03-21 Dewei Zhu <dewei_zhu@apple.com>
 2
 3 [perf dashboard] Perf dashboard should be compatible with newer version of postgres.
 4 https://bugs.webkit.org/show_bug.cgi?id=223567
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 Newer version of postgres requires explicit ROW expression while updating a single column
 9 using multi-column update syntax.
 10
 11 * public/include/db.php: Use explicit ROW expression on update query.
 12
1132021-03-06 Ryosuke Niwa <rniwa@webkit.org>
214
315 [perf dashboard] Use async/await in tests for TimeSeriesChart and InteractiveTimeSeriesChart

Websites/perf.webkit.org/public/include/db.php

@@class Database
247247 // http://stackoverflow.com/questions/1109061/insert-on-duplicate-update-in-postgresql
248248 $rows = NULL;
249249 if ($should_update) {
250  $rows = $this->query_and_fetch_all("UPDATE $table SET ($insert_column_names) = ($insert_placeholders)
 250 $rows = $this->query_and_fetch_all("UPDATE $table SET ($insert_column_names) = ROW($insert_placeholders)
251251 WHERE $condition RETURNING $returning_column_name", $values);
252252 }
253253 if (!$rows && $should_insert) {