Page MenuHomePhabricator

Bump required PG version in MW to 9.4
Closed, ResolvedPublic

Description

From T270732: Upgrade doctrine/dbal from 2.10.4 to 3.0.x for PHP 8.0 support, bumping doctrine to 3.0.0 for PHP 8.0 support, we lose PG 9.2 and 9.3 support...

https://www.postgresql.org/support/versioning/ - 9.4 was first released December 18, 2014, and final release is February 13, 2020. So it's already EOL

Debian oldstable is on 9.6, so I don't think this is a major issue

Quoting myself:

I don't think this is probably necessarily a problem for backporting to 1.35 either... If when we regenerate the SQL schema for REL1_35 on PG, the files are the same...

It might be more of an issue if we were doing SQL transformations on the fly via doctrine, but we're not

Basically, this tasks for updating of version checking in MW core, Documentation etc

Event Timeline

generateSchemaSql.php against postgres is no-op on master (and therefore also on 1.35)

When T270732: Upgrade doctrine/dbal from 2.10.4 to 3.0.x for PHP 8.0 support lands, I'll sort this one out too

Change 651673 had a related patch set uploaded (by Reedy; owner: Reedy):
[mediawiki/core@master] Update minimum version of PostgreSQL to 9.4

https://gerrit.wikimedia.org/r/651673

Change 651673 merged by jenkins-bot:
[mediawiki/core@master] Update minimum version of PostgreSQL to 9.4

https://gerrit.wikimedia.org/r/651673