pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: abbas alizadeh <ramkly@yahoo.com>
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: Last login time
Date: Fri, 10 Dec 2021 13:55:26 +0100
Message-ID: <3b8d0a3fd990fc40a6d7d106e3521cc8c6e2af68.camel@cybertec.at> (raw)
In-Reply-To: <7CD959B4-4EAC-4CB4-A59D-F43BD21C8D65@yahoo.com>
References: <7CD959B4-4EAC-4CB4-A59D-F43BD21C8D65.ref@yahoo.com>
	<7CD959B4-4EAC-4CB4-A59D-F43BD21C8D65@yahoo.com>

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






view thread (2+ messages)

Message-ID: <3b8d0a3fd990fc40a6d7d106e3521cc8c6e2af68.camel@cybertec.at>
Permalink:  ../3b8d0a3fd990fc40a6d7d106e3521cc8c6e2af68.camel@cybertec.at/
Also on:    postgresql.org/message-id/3b8d0a3fd990fc40a6d7d106e3521cc8c6e2af68.camel@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: laurenz.albe@cybertec.at, ramkly@yahoo.com
  Subject: Re: Last login time
  In-Reply-To: <3b8d0a3fd990fc40a6d7d106e3521cc8c6e2af68.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox