Update PostgreSQL to version 18 (#10194)
Also, disable password-based authentication using the MD5 hash
algorithm, since that functionality has been officially deprecated:
https://www.postgresql.org/docs/18/auth-password.html
Signed-off-by: Anton Kirilov <[email protected]>