Re: Statement logging per connection - Mailing list pgsql-admin

From Bruce Momjian
Subject Re: Statement logging per connection
Date
Msg-id 200507211450.j6LEoOb05603@candle.pha.pa.us
Whole thread Raw
In response to Statement logging per connection  (KÖPFERL Robert <robert.koepferl@sonorys.at>)
List pgsql-admin
K�PFERL 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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-admin by date:

Previous
From: Brad Nicholson
Date:
Subject: Re: PGSQL 7.4.8 : idle in transaction problem
Next
From: "Filipe Knoedt"
Date:
Subject: N-to-N implementation