Manual:PostgreSQL

The purpose of this page is to collect information and experiences about running MediaWiki on PostgreSQL.

MediaWiki supports PostgreSQL since 1.7, but please note that this is second-class support, and you will likely run into many bugs.
The database most commonly used with MediaWiki is MySQL.
See Phabricator for a list of issues.
MediaWiki requires PostgreSQL 9.2 or later, and PG database support enabled in PHP.

Most of the common maintenance scripts work with PostgreSQL however some of the more obscure ones might have problems.