Per wikitech-l discussion: it would be nice if the various DBMSs we support kept...
authorChad Horohoe <demon@users.mediawiki.org>
Tue, 7 Sep 2010 12:37:13 +0000 (12:37 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Tue, 7 Sep 2010 12:37:13 +0000 (12:37 +0000)
docs/database.txt
docs/databases/ibm_db2.txt [new file with mode: 0644]
docs/databases/sqlite.txt [new file with mode: 0644]
maintenance/ibm_db2/README [deleted file]
maintenance/sqlite/README [deleted file]

index 9962a83..555347d 100644 (file)
@@ -171,3 +171,20 @@ queries, by using an appropriate condition in the WHERE clause of an
 UPDATE, or by using unique indexes in combination with INSERT IGNORE.
 Then use the affected row count to see if the query succeeded.
 
+------------------------------------------------------------------------
+    Supported DBMSs
+------------------------------------------------------------------------
+
+MediaWiki is written primarily for use with MySQL. Queries are optimized
+for it and its schema is considered the canonical version. However,
+MediaWiki does support the following other DBMSs to varying degrees.
+
+* PostgreSQL
+* SQLite
+* Oracle
+* IBM DB2
+* MSSQL
+
+More information can be found about each of these databases (known issues,
+level of support, extra configuration) in the "databases" subdirectory in
+this folder.
diff --git a/docs/databases/ibm_db2.txt b/docs/databases/ibm_db2.txt
new file mode 100644 (file)
index 0000000..3c3f381
--- /dev/null
@@ -0,0 +1,3 @@
+== See also ==
+*[http://www.mediawiki.org/wiki/Manual:IBM_DB2 Installation instructions]
+*[http://ca.php.net/manual/en/function.db2-connect.php PHP Manual for DB2 functions]
\ No newline at end of file
diff --git a/docs/databases/sqlite.txt b/docs/databases/sqlite.txt
new file mode 100644 (file)
index 0000000..b8a4555
--- /dev/null
@@ -0,0 +1,12 @@
+SQLite shares the MySQL schema file at maintenance/tables.sql, with a set of 
+compatibility regexes to convert MySQL syntax to SQLite syntax:
+
+* BINARY() and VARBINARY() fields are converted to BLOB
+* the UNSIGNED modifier is removed
+* "INT" fields are converted to "INTEGER"
+* ENUM is converted to BLOB
+* the BINARY collation modifier is removed
+* AUTO_INCREMENT is converted to AUTOINCREMENT
+* Any table options are removed
+* Truncated indexes are upgraded to full-width indexes
+* FULLTEXT indexes are converted to ordinary indexes
diff --git a/maintenance/ibm_db2/README b/maintenance/ibm_db2/README
deleted file mode 100644 (file)
index 3c3f381..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-== See also ==
-*[http://www.mediawiki.org/wiki/Manual:IBM_DB2 Installation instructions]
-*[http://ca.php.net/manual/en/function.db2-connect.php PHP Manual for DB2 functions]
\ No newline at end of file
diff --git a/maintenance/sqlite/README b/maintenance/sqlite/README
deleted file mode 100644 (file)
index b8a4555..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-SQLite shares the MySQL schema file at maintenance/tables.sql, with a set of 
-compatibility regexes to convert MySQL syntax to SQLite syntax:
-
-* BINARY() and VARBINARY() fields are converted to BLOB
-* the UNSIGNED modifier is removed
-* "INT" fields are converted to "INTEGER"
-* ENUM is converted to BLOB
-* the BINARY collation modifier is removed
-* AUTO_INCREMENT is converted to AUTOINCREMENT
-* Any table options are removed
-* Truncated indexes are upgraded to full-width indexes
-* FULLTEXT indexes are converted to ordinary indexes