diff --git a/core/lib/Drupal/Core/Database/Driver/pgsql/Update.php b/core/lib/Drupal/Core/Database/Driver/pgsql/Update.php index 5c93433..dd8a72a 100644 --- a/core/lib/Drupal/Core/Database/Driver/pgsql/Update.php +++ b/core/lib/Drupal/Core/Database/Driver/pgsql/Update.php @@ -65,7 +65,8 @@ public function execute() { $options = $this->queryOptions; $options['already_prepared'] = TRUE; - $this->connection->query($stmt, $options); + $options['return'] = Database::RETURN_AFFECTED; + $this->connection->query($stmt, array(), $options); return $stmt->rowCount(); }