Postgres: What is difference between "Locking Account" and "Alter Account valid until"?
ALTER USER john VALID UNTIL 'Jan 31 2030';
and
ALTER ROLE john LOCK TIME 'Jan 31 2030';
ALTER ROLE john ACCOUNT LOCK 'Jan 31 2030';
Note: The USER, ROLE are kind of similar (CREATE USER, LOGIN is assumed by default, whereas NOLOGIN is assumed when the command is spelled CREATE ROLE) Kinda Confusing.