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

From Tom Lane
Subject Re: How To Log User Name + Database?
Date
Msg-id 10108.976125680@sss.pgh.pa.us
Whole thread Raw
In response to Re: How To Log User Name + Database?  (Larry Rosenman <ler@lerctr.org>)
List pgsql-general
Larry Rosenman <ler@lerctr.org> writes:
>>>> Can anyone tell me how to log the db user name and db name to the server
>>>> log?  Is this possible at present?

> So, I think it's there already.

You're right ... I had just found that in the sources myself.
log_connections is the controlling option.

            regards, tom lane

pgsql-general by date:

Previous
From: "Edmar Wiggers"
Date:
Subject: RE: How To Log User Name + Database?
Next
From: Ed Loehr
Date:
Subject: Re: How To Log User Name + Database?