Paladox has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/358924 )

Change subject: Fix Postgres support
......................................................................

Fix Postgres support

See https://phabricator.wikimedia.org/T149454#3217259

This restores a line mistakenly deleted in
eef8fc45f3d03596579abb2519185ace38cf6832.

Bug: T149454
Change-Id: If6463904bb5269a7ccab5ddd69f69dba8104bc49
(cherry picked from commit b5611ce6fa90146331370d6e133ef30b0259b69c)
---
M includes/libs/rdbms/database/DatabasePostgres.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/24/358924/1

diff --git a/includes/libs/rdbms/database/DatabasePostgres.php 
b/includes/libs/rdbms/database/DatabasePostgres.php
index 36e0629..45ef0d5 100644
--- a/includes/libs/rdbms/database/DatabasePostgres.php
+++ b/includes/libs/rdbms/database/DatabasePostgres.php
@@ -1106,6 +1106,7 @@
                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 "

-- 
To view, visit https://gerrit.wikimedia.org/r/358924
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If6463904bb5269a7ccab5ddd69f69dba8104bc49
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: REL1_28
Gerrit-Owner: Paladox <[email protected]>
Gerrit-Reviewer: Mwjames <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to