PostgreSQL rolvaliduntil expiry interoperability with pg_hba.conf authentication methods
PostgreSQL stores password-expiry state in pg_authid.rolvaliduntil and enforces it exclusively during password-based authentication such as SCRAM-SHA-256 or MD5. When pg_hba.conf selects a non-password method peer GSSAPI or certificate-based login the VALID UNTIL timestamp is not evaluated allowing connections that would be rejected under password methods. T