Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 7F057476523 for ; Wed, 15 May 2002 11:43:55 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 85E21475CA4 for ; Wed, 15 May 2002 11:37:16 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id g4FFbHW08771; Wed, 15 May 2002 11:37:17 -0400 (EDT) To: "Niclas Gustafsson" Cc: pgsql-admin@postgresql.org Subject: Re: PG_XLOG grows and grows In-reply-to: <008401c1fc25$d8eb3fd0$b700a8c0@gmg> References: <008401c1fc25$d8eb3fd0$b700a8c0@gmg> Comments: In-reply-to "Niclas Gustafsson" message dated "Wed, 15 May 2002 17:33:22 +0200" Date: Wed, 15 May 2002 11:37:17 -0400 Message-ID: <8768.1021477037@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200205/135 X-Sequence-Number: 4310 "Niclas Gustafsson" 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