From: | Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> |
---|---|
To: | Kasia Tuszynska <ktuszynska(at)esri(dot)com> |
Cc: | "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: logging a single user session |
Date: | 2009-03-24 22:53:26 |
Message-ID: | dcc563d10903241553o7a7004e1x1c08abdd6dd5292f@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On Tue, Mar 24, 2009 at 11:43 AM, Kasia Tuszynska <ktuszynska(at)esri(dot)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 - so sorry 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 to what 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.
From | Date | Subject | |
---|---|---|---|
Next Message | Nicolas Michel | 2009-03-25 13:35:36 | Change the place of the WAL files |
Previous Message | Kasia Tuszynska | 2009-03-24 17:43:34 | logging a single user session |