Re: How To Log User Name + Database? - Mailing list pgsql-general

From Lamar Owen
Subject Re: How To Log User Name + Database?
Date
Msg-id 3A2E7797.4CFBFFDE@wgcr.org
Whole thread Raw
In response to How To Log User Name + Database?  (Ed Loehr <eloehr@austin.rr.com>)
List pgsql-general
Tom Lane wrote:
> Offhand I don't think that happens at the moment, but it does seem like
> it'd be a good idea to have a backend do an elog(DEBUG) at startup that
> mentions its database name and user name.  Assuming you have logging of
> timestamps/PIDs turned on, that would be enough to correlate later log
> messages with a user name.

> Comments anyone?

Yes. Good idea.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11

pgsql-general by date:

Previous
From: "George Johnson"
Date:
Subject: apache .htaccess / postgresql module
Next
From: "Darrin Ladd"
Date:
Subject: Trigger Problems?