From 6d2e353be116103e8374f36ecd12380cc91d5386 Mon Sep 17 00:00:00 2001 From: Lee Rowlands <lee.rowlands@previousnext.com.au> Date: Tue, 13 Aug 2019 07:11:12 +1000 Subject: [PATCH] Issue #3074157 by Mixologic: Escape "tablesample" for postgres 9.5 compatibility --- core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php b/core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php index 80b30893cab6..f8a8c3b3eb9c 100644 --- a/core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php +++ b/core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php @@ -65,9 +65,9 @@ class Connection extends DatabaseConnection { 'localtime', 'localtimestamp', 'natural', 'not', 'notnull', 'null', 'offset', 'on', 'only', 'or', 'order', 'outer', 'over', 'overlaps', 'placing', 'primary', 'references', 'returning', 'right', 'select', 'session_user', - 'similar', 'some', 'symmetric', 'table', 'then', 'to', 'trailing', 'true', - 'union', 'unique', 'user', 'using', 'variadic', 'verbose', 'when', 'where', - 'window', 'with', + 'similar', 'some', 'symmetric', 'table', 'tablesample', 'then', 'to', + 'trailing', 'true', 'union', 'unique', 'user', 'using', 'variadic', 'verbose', + 'when', 'where', 'window', 'with', ]; /** -- GitLab