How long will the PostgreSQL user password expire when the valuntil value in pq_user is NULL? -


today, magic happen our read-only user in our postgresql database. can't log in database using provided username , password. supposed changed password, no one. when check following query:

select * pg_user usename='readonlyuser'; 

i know fact valuntil value totally different between read-only user , normal user. valuntil value normal user infinity, , null read-only user. , question is: how long postgresql user password expire when valuntil value in pq_user null?

password not expire if valuntil = null.

from documentation:

rolvaliduntil password expiry time (only used password authentication); null if no expiration

pg_user view pg_shadow view pg_authid


Comments

Popular posts from this blog

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -