docker-gitlab icon indicating copy to clipboard operation
docker-gitlab copied to clipboard

Maintenance on PostgreSQL clients

Open sachilles opened this issue 1 month ago • 3 comments

Since PostgreSQL v18 was already published we need to provide a suitable postgresql client as well.

However, following the requirements for GitLab CE and in particular for PostgreSQL (see https://docs.gitlab.com/18.5/install/requirements/#postgresql) we should remove all clients for PostgresSQL versions smaller than 16.

sachilles avatar Nov 13 '25 19:11 sachilles

@kkimurak What do you think about this PR and the removal of old PostgreSQL client versions. I guess, we have to add a comment to the release notes. Otherwise it might be possible that a lot of users could run into trouble.

sachilles avatar Nov 13 '25 19:11 sachilles

I think it's ok to remove old PostgreSQL clients. In addition to release notes, how about displaying a warning (or terminating with an error) if the minimum and maximum version requirements are not met? The process for obtaining the server version has already been implemented, so changing it to the following should generally work (see my rough implementation: check-potgresql-server-version-and-warn branch based on this PR, especially commit 7199c085ea021b292f069549985e7f7356d8c850)

By the way, according to the link, Maximum PostgreSQL version for GitLab 18.x is 17.x (tested against GitLab 17.10 and later)

kkimurak avatar Nov 14 '25 07:11 kkimurak

@kkimurak Nice idea and I'll take over your commits. However, since GitLab does not support PostgreSQL v18 so far not officially, we'll wait before publishing this branch.

sachilles avatar Nov 21 '25 18:11 sachilles