odoo/odoo#182645

Created by Upgrade, Christophe Simonis (chs)

Blocked

label
odoo-dev:18.0-minpg-chs
head
d4c84f17cbfd22b57f56be16dcfc8295c8e50952
odoo/odoo odoo/documentation
18.0 #182645 missing statuses missing r+ #11150 ready
saas-18.2
saas-18.3
saas-18.4
19.0
master

[IMP] core: validate the `db_*` options.

Ensure we connect a PostgreSQL server with a supported version.

Until now, there wasn't check on the minimal supported version, which may lead to unexpected issues way long after the creation of the database. The only constraint was written in the documentation1 and stated that the minimal version was PostgreSQL 12, which won't be supported after November 14, 20242.
Now required PostgreSQL 15, which is the version available on debian stable3.

Description of the issue/feature this PR addresses:

Current behavior before PR:

Desired behavior after PR is merged:


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr


  1. odoo/documentation#11150 ↩

  2. https://www.postgresql.org/support/versioning/ ↩

  3. https://packages.debian.org/bookworm/postgresql ↩