Upgrade to postgresql 17
The biggest issue was that starting with Postgres 17, database names are no longer truncated when connecting. We were relying on this behaviour in tests. The database names were made shorter where possible and explicitly truncated by our scripts before connecting.
Edited by Krzysztof Leśniak