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

Re: Help with tracking!

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
Cc: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>, Đỗ Ngọc Trí Cường <seminoob(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Help with tracking!
Date: 2010-04-20 14:31:47
Message-ID: v2hdcc563d11004200731ra89b655cu60d77d4bec0405c3@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-general
On Tue, Apr 20, 2010 at 6:11 AM, Devrim GÜNDÜZ <devrim(at)gunduz(dot)org> wrote:
> On Tue, 2010-04-20 at 06:03 -0600, Scott Marlowe wrote:
>> Wouldn't this work:
>>
>> alter user smarlowe set log_statement = 'all';
>
> IIRC it only works inside the given session (so it needs to be run each
> time a query will be executed)

Not true:

psql
show log_statement;
 log_statement
---------------
 none
alter user smarlowe set log_statement = 'all';
show log_statement;
 log_statement
---------------
 all
\q
psql
show log_statement;
 log_statement
---------------
 all

In response to

Responses

pgsql-general by date

Next:From: Scott MarloweDate: 2010-04-20 14:33:37
Subject: Re: Help with tracking!
Previous:From: Hiroshi InoueDate: 2010-04-20 14:28:23
Subject: Re: [GENERAL] trouble with to_char('L')

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