The database versions selectable through the `-i` option have fallen
behind the released versions. MariaDB stopped at 11.4 and PostgreSQL
at 16, so newer releases are rejected with "Invalid combination" and
cannot be tested locally without patching the script first.
This adds MariaDB 11.5, 11.6, 11.7 and 11.8 and PostgreSQL 17 and 18
to the accepted values and to the help output.
Selecting PostgreSQL 18 additionally required a change to the
container setup. PostgreSQL 18 moved `PGDATA` from
`/var/lib/postgresql/data` to `/var/lib/postgresql/<major>/docker`
and refuses to start when a mount point is placed at the old
location, which made the database container abort before the test
run could connect. The tmpfs mount is therefore placed one level
above at `/var/lib/postgresql` for PostgreSQL 18 and newer, as
recommended for these images, and stays at the data directory for
earlier versions. This applies to the functional and to the install
suite.
Only the local execution matrix is extended here. The GitLab CI
matrix is intentionally left untouched and is adjusted in a
follow-up, once a working state has been ensured for the added
versions.
Note that MariaDB 11.7 and 11.8 are expected to fail for now: the
platform elevation does not recognise them and falls through to
`MariaDB110700Platform`. That is a separate defect and is handled in
its own issue. Making the versions selectable is the prerequisite
for working on it.