diff --git a/core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php b/core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php index 98b7a6b..e707de6 100644 --- a/core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php +++ b/core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php @@ -323,6 +323,16 @@ public function rollbackSavepoint($savepoint_name = 'mimic_implicit_commit') { $this->rollback($savepoint_name); } } + + /** + * {@inheritdoc} + */ + protected function isTableMissingException(\PDOException $e) { + // "42P01" is the PostgreSQL error code for "undefined_table". + // @see http://www.postgresql.org/docs/9.3/static/errcodes-appendix.html + return ($e->getCode() === '42P01') ? TRUE : FALSE; + } + } /**