log file: showing disconnects as well as connects?

From: Mark Harrison <mh(at)pixar(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: log file: showing disconnects as well as connects?
Date: 2004-01-28 20:00:51
Message-ID: 401814F3.1030702@pixar.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Here's a quickie script to watch a particular session:

tail -f $LOG | awk '
/connection received: host='$1'/ { pid = $3 }
$3 == pid { print }'

Is there something in the log file which will indicate
a disconnect as well?

Many TIA,
Mark

Browse pgsql-admin by date

  From Date Subject
Next Message Frank Way 2004-01-28 21:37:22 How to determine which file contains which block
Previous Message Tom Lane 2004-01-28 19:52:15 Re: Error seen when vacuuming pg_largeobject table