From: jenkins-bot Date: Wed, 14 Jun 2017 08:19:53 +0000 (+0000) Subject: Merge "Fix Postgres support" X-Git-Tag: 1.31.0-rc.0~2983 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=7f3d6713e7191c476adb3d3c30344a0327b853d3;hp=9f6acd5d6376c9a937352d6e5172acfeeca479e6 Merge "Fix Postgres support" --- diff --git a/includes/libs/rdbms/database/DatabasePostgres.php b/includes/libs/rdbms/database/DatabasePostgres.php index fe5cfa117a..57acd012f8 100644 --- a/includes/libs/rdbms/database/DatabasePostgres.php +++ b/includes/libs/rdbms/database/DatabasePostgres.php @@ -1039,6 +1039,7 @@ __INDEXATTR__; if ( $schema === false ) { $schema = $this->getCoreSchema(); } + $table = $this->realTableName( $table, 'raw' ); $etable = $this->addQuotes( $table ); $eschema = $this->addQuotes( $schema ); $sql = "SELECT 1 FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n "