Re: PG_XLOG grows and grows - Mailing list pgsql-admin

From Tom Lane
Subject Re: PG_XLOG grows and grows
Date
Msg-id 8768.1021477037@sss.pgh.pa.us
Whole thread Raw
In response to PG_XLOG grows and grows  ("Niclas Gustafsson" <niclas.gustafsson@codesense.com>)
Responses Re: PG_XLOG grows and grows
List pgsql-admin
"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

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: PG_XLOG grows and grows
Next
From: "Niclas Gustafsson"
Date:
Subject: Re: PG_XLOG grows and grows