]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blobdiff - docs/databases/postgres.txt
MediaWiki 1.30.2
[autoinstallsdev/mediawiki.git] / docs / databases / postgres.txt
index cec518619d987e4e78499f551a6ea228c1f6005a..6b266a6a776ea05f15f5aa0dabce9af7f473a508 100644 (file)
@@ -92,6 +92,18 @@ in maintenance/tables.sql itself, as it is very strict in the
 format it expects things to be in. :)
 
 
+== MySQL differences ==
+
+The major differences between MySQL and Postgres are represented as 
+methods in the Database class. For example, implicitGroupby() is 
+true for MySQL and false for Postgres. This means that in those 
+places where the code does not add all the non-aggregate items 
+from the SELECT clause to the GROUP BY, we can add them in, but in 
+a conditional manner with the above method, as simply adding them 
+all in to the main query may cause performance problems with 
+MySQL.
+
+
 == Getting help ==
 
 In addition to the normal venues (MediaWiki mailing lists