From: Tom Lane <tgl@sss.pgh.pa.us>
To: Niclas Gustafsson <niclas.gustafsson@codesense.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: PG_XLOG grows and grows
Date: Wed, 15 May 2002 11:37:17 -0400
Message-ID: <8768.1021477037@sss.pgh.pa.us> (raw)
In-Reply-To: <008401c1fc25$d8eb3fd0$b700a8c0@gmg>
References: <008401c1fc25$d8eb3fd0$b700a8c0@gmg>
"Niclas Gustafsson" <niclas.gustafsson@codesense.com> writes:
> Yes, I know that, I would like to know what commands the client
> has issued sofar in the transaction as this would help us to
> track down if there is some problems in the client, and which
> client that is stalling ( As we have a bunch of different clients
> Working towards the database).
Turn on debug_print_query, log_pid, log_timestamp, and perhaps
log_connections in postgresql.conf. The postmaster log will then
provide a pretty effective trace of what's going on.
BTW, in 7.2 you need to SIGHUP the postmaster after changing
postgresql.conf. I forget whether 7.1 expected that or not.
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, niclas.gustafsson@codesense.com
Subject: Re: PG_XLOG grows and grows
In-Reply-To: <8768.1021477037@sss.pgh.pa.us>
References: <008401c1fc25$d8eb3fd0$b700a8c0@gmg> <8768.1021477037@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