wiki.techinc.nl/includes/db
Marcin Cieślak 8e2da3a4a6 Follow-up to r15791: Rename "user" and "text" when upgrading on PostgreSQL
You can lie to me, but not to your installer.

Make DatabasePostgres::tableExists to check
for real table names, not faked ones.

DatabasePostgres is currently lying to the rest
of the MediaWiki that "mwuser" table is actually
called "user" and that "pagecontents" is called
"text". While MediaWiki does not care, the
installer (and updater do).

This allows us to overcome first hurdle
in getting MediaWiki 1.7.3 to update to trunk
on PostgreSQL and uncover further bugs.

For this commit to actually do something,
we rename those tables when upgrading to match
what we have in maintenance/postgres/tables.sql

And by the way, tell installer not to check
for "user" table, since most PostgreSQL users
will have "mwuser" instead. Picking "archive"
instead.
2012-03-14 20:20:53 +00:00
..
CloneDatabase.php Reverted r108743 per CR comment. This should at least be discussed first. 2012-01-12 19:41:18 +00:00
Database.php Bug 35162 - Change in Database api break extension MSSQLBackCompat 2012-03-11 23:40:33 +00:00
DatabaseError.php rv r87948 "fix backtrace on SQL error" 2012-01-30 17:36:43 +00:00
DatabaseIbm_db2.php Follow-up r112565: fix code duplication 2012-02-28 14:42:08 +00:00
DatabaseMssql.php Follow-up r112565: fix code duplication 2012-02-28 14:42:08 +00:00
DatabaseMysql.php Follow-up r112565: fix code duplication 2012-02-28 14:42:08 +00:00
DatabaseOracle.php Follow-up r112565: fix code duplication 2012-02-28 14:42:08 +00:00
DatabasePostgres.php Follow-up to r15791: Rename "user" and "text" when upgrading on PostgreSQL 2012-03-14 20:20:53 +00:00
DatabaseSqlite.php Follow-up r112565: fix code duplication 2012-02-28 14:42:08 +00:00
DatabaseUtility.php Moar documentations 2011-11-29 21:04:20 +00:00
LBFactory.php More documentation of parameters following up r104591 2011-12-05 16:50:58 +00:00
LBFactory_Multi.php More documentation of parameters following up r104591 2011-12-05 16:50:58 +00:00
LBFactory_Single.php Moar documentations 2011-09-16 17:58:50 +00:00
LoadBalancer.php Pass __METHOD__ to DatabaseBase::begin(), DatabaseBase::commit() and DatabaseBase::rollback() 2012-02-25 13:23:43 +00:00
LoadMonitor.php Moar documentations 2011-11-29 21:04:20 +00:00