Manual:PostgreSQL

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

MediaWiki supports Postgres since 1.7 and as of 1.16 contain only a few minor bugs. MediaWiki requires Postgres 8.3 or later, and PG database support enabled in PHP.

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

Is PostgreSQL a good choice for MediaWiki?
Wikipedia uses MySQL so MediaWiki gets more testing on MySQL than PostgreSQL. While support for PostgreSQL is maintained by volunteers, most core functionality is working.

==MediaWiki database migration==

From MySQL to PostgreSQL
The mwdumper tool might help.

There is also mediawiki_mysql2postgres.pl in maintainance/postgres but there is uncertainty whether it works.

From PostgreSQL to MySQL
This is generally not recommended as converting from Postgres data types back to MySQL is not as simple an operation as the reverse. There are however some scripts which may work.

5ugtf5tztzgttugtztjhhhmmkkkiko7fzvlkujuihuzjjujukioooolojpju6zhz6hz77urjhrgjjgfdddfxyáőpi.-.ujzjzzzt5sddzj.éőlépppüpöőppéppééeéelel3l3leo4oppépopáűűúűúűűűűűűű űűúű r4wwe3ghjhfrtgreeeefgeeefdreew9ö2ewieet6ttrtrtrt58pswépiröüeüpör89őősédélpdppffáfálaura7005dijdhgfhfbfdgbfrnfgxsfhzdefőüüüioökvg,bjnffsdhhzhtruglkkgákdfh8éjigfyíyxguőáébhgfj,nvfihrhb evtv b  ggtg4ttttttt gtzuzfezhhbghbhh znhj767u {| class="wikitable" === |- ! Header text !! Header text !! Header text !! Header text !! Header text ===
 * Example || Example || Example || Example || Example
 * Example || Example || Example || Example || Example
 * Example || Example || Example || Example || Example
 * Example || Example || Example || Example || Example
 * Example || Example || Example || Example || Example
 * Example || Example || Example || Example || Example
 * Example || Example || Example || Example || Example
 * Example || Example || Example || Example || Example

Heading textĊ฿₩

 * }