Postgres 14 will no longer be supported in GitLab 18. The minimum required version will be PG 16.
The previous removal of PG 13 can be seen here, as an example: