Skip site navigation (1) Skip section navigation (2)

Re: Statement logging per connection

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: KÖPFERL Robert <robert(dot)koepferl(at)sonorys(dot)at>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Statement logging per connection
Date: 2005-07-21 14:50:24
Message-ID: 200507211450.j6LEoOb05603@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-admin
KPFERL Robert wrote:
> Hi,
> 
> is it possible to enable statement logging just for certain statements?
> 
> several tries with SET xxx to yyy
> resulted in messages like xx can't be set now?
> 
> When can it be set?

In 8.0 you can say:

	SET log_statement = 'mod';

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

pgsql-admin by date

Next:From: Filipe KnoedtDate: 2005-07-21 15:38:18
Subject: N-to-N implementation
Previous:From: Brad NicholsonDate: 2005-07-21 14:46:25
Subject: Re: PGSQL 7.4.8 : idle in transaction problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group