Re: Log statement with timestamp

From: Raghavendra <raghavendra(dot)rao(at)enterprisedb(dot)com>
To: Madhu S R <s_r_madhu(at)yahoo(dot)co(dot)in>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Log statement with timestamp
Date: 2012-02-23 10:50:10
Message-ID: CA+h6Ahjauo5QWaLaHkb-fUeA8490r62uZpWL=tMssq+-TdH=6Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Need to enable log_line_prefix with timestamp "%t".
http://www.postgresql.org/docs/9.1/static/runtime-config-logging.html

---
Regards,
Raghavendra
EnterpriseDB Corporation
Blog: http://raghavt.blogspot.com/

On Thu, Feb 23, 2012 at 2:15 PM, Madhu S R <s_r_madhu(at)yahoo(dot)co(dot)in> wrote:

> Hi,
>
> I need to log DDL or MOD statements with current time when the
> statement executed. Please let me know if this is possible.
>
> Regards,
> Madhu
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message ultrayoYO 2012-02-23 11:05:21 How to enable thread safety on postgresql 8.3.6
Previous Message Albe Laurenz 2012-02-23 10:43:50 Re: Comment on extension issues with pg_dump after upgrading to 9.1.2