On Fri, 2021-12-10 at 14:29 +0800, abbas alizadeh wrote: > Is there any way to get the last login time for each user in database > (I mean some table ir view not postgresql log file) There is no such facility in PostgreSQL. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com