Re: logging a single user session - Mailing list pgsql-admin

From Scott Marlowe
Subject Re: logging a single user session
Date
Msg-id dcc563d10903241553o7a7004e1x1c08abdd6dd5292f@mail.gmail.com
Whole thread Raw
In response to logging a single user session  (Kasia Tuszynska <ktuszynska@esri.com>)
List pgsql-admin
On Tue, Mar 24, 2009 at 11:43 AM, Kasia Tuszynska <ktuszynska@esri.com> wrote:
> Hi Everybody,
> I am convinced that this question has been posted on either the novice or admin forum but I can not find the answer -
sosorry for the repeat. 
>
> I would like to log (or trace) the output from a single user session, what parameters in the postgresql.conf do I set
towhat to achieve that? 

I think you can do it from a psql prompt:

alter user smarlowe set log_statement='ddl';

where you could replace ddl with none, ddl, mod, all if I remember correctly.

pgsql-admin by date:

Previous
From: Kasia Tuszynska
Date:
Subject: logging a single user session
Next
From: Nicolas Michel
Date:
Subject: Change the place of the WAL files