postgres authentication external
Postgres has an option "valid until" that specifies user's password expiry Date&amp;time. but, I believe, what you are asking can be done as an application feature not the Database feature.