pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marc McIntyre <mmcintyre@squiz.net>
To: pgsql-sql@postgresql.org
Subject: Last access date for databases/users
Date: Fri, 02 Sep 2005 12:58:07 +1000
Message-ID: <4317BFBF.8080302@squiz.net> (raw)
In-Reply-To: <20050902003300.57378.qmail@web50613.mail.yahoo.com>
References: <20050902003300.57378.qmail@web50613.mail.yahoo.com>

Is there anyway to determine when a database was last accessed, or when 
a user last connected to the database using the pg_* views? I'm trying 
to determine what databases in my system are currently active.





Message-ID: <4317BFBF.8080302@squiz.net>
Permalink:  ../4317BFBF.8080302@squiz.net/
Also on:    postgresql.org/message-id/4317BFBF.8080302@squiz.net

 · 

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-sql@postgresql.org
  Cc: mmcintyre@squiz.net
  Subject: Re: Last access date for databases/users
  In-Reply-To: <4317BFBF.8080302@squiz.net>

* 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