pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: kah_hang_ang@toray.com.my
To: hubert depesz lubaczewski <depesz@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Is it possible to trace all transactions done?
Date: Mon, 26 Jun 2006 10:04:52 +0800
Message-ID: <OF1DA0FDDC.2B0B5202-ON48257199.000365F2@pengroup.com.my> (raw)





Depesz,

Thanks, this is I what I need.
After I enable the log_statement Postgresql do log the statements triggered
but I need more detail info. - time the statements been triggered to be log
as well,
is it any way to do that?


Regards,
KH Ang




                                                                                                                                       
                      "hubert depesz                                                                                                   
                      lubaczewski"             To:       "kah_hang_ang@toray.com.my" <kah_hang_ang@toray.com.my>                       
                      <depesz@gmail.com        cc:       pgsql-admin@postgresql.org                                                    
                      >                        Subject:  Re: [ADMIN] Is it possible to trace all transactions done?                    
                                                                                                                                       
                      06/24/2006 05:25                                                                                                 
                      PM                                                                                                               
                                                                                                                                       
                                                                                                                                       




On 6/23/06, kah_hang_ang@toray.com.my <kah_hang_ang@toray.com.my> wrote:
Is Postgresql provide feature to log all the transactions/queries have been
triggered into log?

sure. check you postgresl.conf file.
log_statement is what you're looking for.

depesz


--
http://www.depesz.com/ - nowy, lepszy depesz





view thread (4+ messages)  latest in thread

Message-ID: <OF1DA0FDDC.2B0B5202-ON48257199.000365F2@pengroup.com.my>
Permalink:  ../OF1DA0FDDC.2B0B5202-ON48257199.000365F2@pengroup.com.my/
Also on:    postgresql.org/message-id/OF1DA0FDDC.2B0B5202-ON48257199.000365F2@pengroup.com.my

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: kah_hang_ang@toray.com.my, depesz@gmail.com
  Subject: Re: Is it possible to trace all transactions done?
  In-Reply-To: <OF1DA0FDDC.2B0B5202-ON48257199.000365F2@pengroup.com.my>
  References: <OF1DA0FDDC.2B0B5202-ON48257199.000365F2@pengroup.com.my>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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