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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -