Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 5E027B5DC03 for ; Tue, 5 Jul 2011 22:32:47 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 91044-01 for ; Wed, 6 Jul 2011 01:32:40 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from zql.com (zql.com [206.222.31.58]) by mail.postgresql.org (Postfix) with ESMTP id 099B3B5DBEE for ; Tue, 5 Jul 2011 22:32:41 -0300 (ADT) Received: from localhost ([127.0.0.1]) by zql.com with smtp (Exim 4.68) (envelope-from ) id 1QeGyn-0001jJ-1V; Tue, 05 Jul 2011 21:32:41 -0400 From: "Greg Sabino Mullane" To: pgsql-admin@postgresql.org Subject: Re: List all querys from a open transaction X-PGP-Key: 2529 DF6A B8F7 9407 E944 45B4 BC9B 9067 1496 4AC8 X-Request-PGP: http://www.biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 In-Reply-To: Date: Wed, 6 Jul 2011 01:32:41 -0000 X-Mailer: JoyMail 2.4.0 Message-ID: <1b9306ca6eef99c955d048bc47871e49@biglumber.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201107/28 X-Sequence-Number: 37807 -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 > anyone know how can I show all querys from a open transaction? > > pg_stat_activity only show " in transaction", any ideas? What would you have it show? The other session is between commands. Nothing is tracked at a historical level except in the database logs, so you would have to look there. - -- Greg Sabino Mullane greg@turnstep.com End Point Corporation http://www.endpoint.com/ PGP Key: 0x14964AC8 201107052131 http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 -----BEGIN PGP SIGNATURE----- iEYEAREDAAYFAk4TuygACgkQvJuQZxSWSsi6FgCg8ybmvOriaopUsnW11sbXJdHm HZIAoNfx/7QLm9xlk8H3EqhqZCX9okp3 =LAHI -----END PGP SIGNATURE-----