From: Tom Lane <tgl@sss.pgh.pa.us>
To: kah_hang_ang@toray.com.my
Cc: hubert depesz lubaczewski <depesz@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Is it possible to trace all transactions done?
Date: Sun, 25 Jun 2006 22:24:15 -0400
Message-ID: <17963.1151288655@sss.pgh.pa.us> (raw)
In-Reply-To: <OF1DA0FDDC.2B0B5202-ON48257199.000365F2@pengroup.com.my>
References: <OF1DA0FDDC.2B0B5202-ON48257199.000365F2@pengroup.com.my>
kah_hang_ang@toray.com.my writes:
> 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,
In recent PG releases you set log_line_prefix to add whatever you want
to log entries. Older versions are a bit less flexible, but there's
pretty much always been an option to include a timestamp in log entries.
Please read the administrator's guide ...
regards, tom lane
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: tgl@sss.pgh.pa.us, kah_hang_ang@toray.com.my, depesz@gmail.com
Subject: Re: Is it possible to trace all transactions done?
In-Reply-To: <17963.1151288655@sss.pgh.pa.us>
References: <OF1DA0FDDC.2B0B5202-ON48257199.000365F2@pengroup.com.my> <17963.1151288655@sss.pgh.pa.us>
* 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