pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
logging a single user session
2+ messages / 2 participants
[nested] [flat]

* logging a single user session
@ 2009-03-24 17:43  Kasia Tuszynska <ktuszynska@esri.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Kasia Tuszynska @ 2009-03-24 17:43 UTC (permalink / raw)
  To: pgsql-admin

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? 

Thank a lot in advance,
Sincerely,
Kasia 



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: logging a single user session
@ 2009-03-24 22:53  Scott Marlowe <scott.marlowe@gmail.com>
  parent: Kasia Tuszynska <ktuszynska@esri.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Scott Marlowe @ 2009-03-24 22:53 UTC (permalink / raw)
  To: Kasia Tuszynska <ktuszynska@esri.com>; +Cc: 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 - 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.



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2009-03-24 22:53 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-03-24 17:43 logging a single user session Kasia Tuszynska <ktuszynska@esri.com>
2009-03-24 22:53 ` Scott Marlowe <scott.marlowe@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox